<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DM-CtrlH7-BF-DevProgram: C:/Users/ASUS/Desktop/dm-ctrlH7-balance-9025test/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_flash_ex.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="50x5.png"/></td>
  <td id="projectalign">
   <div id="projectname">DM-CtrlH7-BF-DevProgram<span id="projectnumber">&#160;beta 0.1</span>
   </div>
   <div id="projectbrief">C.ONE Studio Damiao Development Board Framework</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search/",'.html');
</script>
<script type="text/javascript">
$(function() { codefold.init(); });
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search',true);
  $(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(function(){initNavTree('stm32h7xx__hal__flash__ex_8h_source.html','',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">stm32h7xx_hal_flash_ex.h</div></div>
</div><!--header-->
<div class="contents">
<a href="stm32h7xx__hal__flash__ex_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="comment">/* Define to prevent recursive inclusion -------------------------------------*/</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="preprocessor">#ifndef STM32H7xx_HAL_FLASH_EX_H</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="preprocessor">#define STM32H7xx_HAL_FLASH_EX_H</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span> <span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="comment">/* Includes ------------------------------------------------------------------*/</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="preprocessor">#include &quot;<a class="code" href="stm32h7xx__hal__def_8h.html">stm32h7xx_hal_def.h</a>&quot;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span><span class="comment">/* Exported types ------------------------------------------------------------*/</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span></div>
<div class="foldopen" id="foldopen00045" data-start="{" data-end="};">
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___erase_init_type_def.html">   45</a></span><span class="keyword">typedef</span> <span class="keyword">struct</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span>{</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___erase_init_type_def.html#a5d08471046a663db76d2252848a7d66c">   47</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___erase_init_type_def.html#a5d08471046a663db76d2252848a7d66c">TypeErase</a>;   </div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span> </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___erase_init_type_def.html#a9590db921fb8d36daf38e097f68fc14f">   50</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___erase_init_type_def.html#a9590db921fb8d36daf38e097f68fc14f">Banks</a>;       </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span> </div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___erase_init_type_def.html#a13bac8f9a1ba504a265b44345ecf4d2b">   53</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___erase_init_type_def.html#a13bac8f9a1ba504a265b44345ecf4d2b">Sector</a>;      </div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span> </div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___erase_init_type_def.html#aec98fec1676cd618e3743158c855a76a">   56</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___erase_init_type_def.html#aec98fec1676cd618e3743158c855a76a">NbSectors</a>;   </div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span> </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___erase_init_type_def.html#a3a2a0c2c4ed573bb84c768c6dbb92cc9">   59</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___erase_init_type_def.html#a3a2a0c2c4ed573bb84c768c6dbb92cc9">VoltageRange</a>;</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span> </div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span>} <a class="code hl_struct" href="struct_f_l_a_s_h___erase_init_type_def.html">FLASH_EraseInitTypeDef</a>;</div>
</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span></div>
<div class="foldopen" id="foldopen00068" data-start="{" data-end="};">
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___o_b_program_init_type_def.html">   68</a></span><span class="keyword">typedef</span> <span class="keyword">struct</span></div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span>{</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a46bffc2a63ea02e15b9187856535d890">   70</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a46bffc2a63ea02e15b9187856535d890">OptionType</a>;     </div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span> </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a2607ba046f7a3af46e7209b8f1e9e20d">   73</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a2607ba046f7a3af46e7209b8f1e9e20d">WRPState</a>;       </div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span> </div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#aa3db423f4b3038a56b67ca2d48af79ff">   76</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#aa3db423f4b3038a56b67ca2d48af79ff">WRPSector</a>;      </div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span> </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a1f613ba2b87cf9caa84dc1d493e96dae">   79</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a1f613ba2b87cf9caa84dc1d493e96dae">RDPLevel</a>;       </div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span> </div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a51a6af507ed8f57590f19b6ba6c9c33d">   82</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a51a6af507ed8f57590f19b6ba6c9c33d">BORLevel</a>;       </div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span> </div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a71770e44263750ea731fee8c2d74b307">   85</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a71770e44263750ea731fee8c2d74b307">USERType</a>;       </div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span> </div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#aeee4c65d539a25d8bfc7f83c7dc29012">   88</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#aeee4c65d539a25d8bfc7f83c7dc29012">USERConfig</a>;     </div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span> </div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a5fdf437b5f79d79945f5c0777f76d0eb">   91</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a5fdf437b5f79d79945f5c0777f76d0eb">Banks</a>;          </div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span> </div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a33a5b63814d8c38e158776c0c9c09a53">   94</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a33a5b63814d8c38e158776c0c9c09a53">PCROPConfig</a>;    </div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span> </div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#ad0597d5c1d37131b02b2b4abecb14b2d">   98</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#ad0597d5c1d37131b02b2b4abecb14b2d">PCROPStartAddr</a>; </div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span> </div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#ad38368cf5344d6071cc1b6211289f274">  101</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#ad38368cf5344d6071cc1b6211289f274">PCROPEndAddr</a>;   </div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span> </div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#abdae88484117aeab84dfef0b37dc92df">  104</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#abdae88484117aeab84dfef0b37dc92df">BootConfig</a>;     </div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span> </div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a02ba9f1219abea2a6be8522095dc7f09">  107</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a02ba9f1219abea2a6be8522095dc7f09">BootAddr0</a>;      </div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span> </div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a2efa2648f7de9fbc82392ff117c390cf">  110</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a2efa2648f7de9fbc82392ff117c390cf">BootAddr1</a>;      </div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span><span class="preprocessor">#if defined(DUAL_CORE)</span></div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span>  uint32_t CM4BootConfig;  </div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span> </div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span>  uint32_t CM4BootAddr0;   </div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span> </div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span>  uint32_t CM4BootAddr1;   </div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span><span class="preprocessor">#endif </span><span class="comment">/*DUAL_CORE*/</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span> </div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a415be39a396d41f4c8f2ebbb78a5779c">  124</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a415be39a396d41f4c8f2ebbb78a5779c">SecureAreaConfig</a>;    </div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno">  127</span> </div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a655813b01114752ce1dda79eb0b57561">  128</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a655813b01114752ce1dda79eb0b57561">SecureAreaStartAddr</a>; </div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno">  130</span> </div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#aab19457e9f329c653db2dabf771dda3d">  131</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___o_b_program_init_type_def.html#aab19457e9f329c653db2dabf771dda3d">SecureAreaEndAddr</a>;   </div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno">  133</span> </div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno">  134</span><span class="preprocessor">#if defined (FLASH_OTPBL_LOCKBL)</span></div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno">  135</span>  uint32_t OTPBlockLock;   </div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_OTPBL_LOCKBL */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno">  138</span> </div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno">  139</span><span class="preprocessor">#if defined (FLASH_OPTSR2_TCM_AXI_SHARED)</span></div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno">  140</span>  uint32_t SharedRamConfig; </div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno">  142</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_OPTSR2_TCM_AXI_SHARED */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno">  143</span> </div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno">  144</span><span class="preprocessor">#if defined (FLASH_OPTSR2_CPUFREQ_BOOST)</span></div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno">  145</span>  uint32_t FreqBoostState;  </div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno">  147</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_OPTSR2_CPUFREQ_BOOST */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno">  148</span> </div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno">  149</span>} <a class="code hl_struct" href="struct_f_l_a_s_h___o_b_program_init_type_def.html">FLASH_OBProgramInitTypeDef</a>;</div>
</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno">  150</span></div>
<div class="foldopen" id="foldopen00154" data-start="{" data-end="};">
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___c_r_c_init_type_def.html">  154</a></span><span class="keyword">typedef</span> <span class="keyword">struct</span></div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno">  155</span>{</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___c_r_c_init_type_def.html#a1f1fe092f7a1f9fe7aa8dac1e4b4d9b4">  156</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___c_r_c_init_type_def.html#a1f1fe092f7a1f9fe7aa8dac1e4b4d9b4">TypeCRC</a>;      </div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span> </div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___c_r_c_init_type_def.html#a32bf6b4cfa7bba5018f3a3f1a45ba4e1">  159</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___c_r_c_init_type_def.html#a32bf6b4cfa7bba5018f3a3f1a45ba4e1">BurstSize</a>;    </div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno">  161</span> </div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___c_r_c_init_type_def.html#ace452f896737149d988b683dc281afd1">  162</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___c_r_c_init_type_def.html#ace452f896737149d988b683dc281afd1">Bank</a>;         </div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno">  164</span> </div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___c_r_c_init_type_def.html#abca61b78540e8669315a39d65bca3271">  165</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___c_r_c_init_type_def.html#abca61b78540e8669315a39d65bca3271">Sector</a>;       </div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno">  167</span> </div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___c_r_c_init_type_def.html#ac5d30b745d4a13331f856de26579f13e">  168</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___c_r_c_init_type_def.html#ac5d30b745d4a13331f856de26579f13e">NbSectors</a>;    </div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno">  170</span> </div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___c_r_c_init_type_def.html#a4a85047d945aa22901847e85b2ae3778">  171</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___c_r_c_init_type_def.html#a4a85047d945aa22901847e85b2ae3778">CRCStartAddr</a>; </div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno">  173</span> </div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___c_r_c_init_type_def.html#af0051ec432927719c91b33a9f7184fe3">  174</a></span>  uint32_t <a class="code hl_variable" href="struct_f_l_a_s_h___c_r_c_init_type_def.html#af0051ec432927719c91b33a9f7184fe3">CRCEndAddr</a>;   </div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno">  176</span> </div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno">  177</span>} <a class="code hl_struct" href="struct_f_l_a_s_h___c_r_c_init_type_def.html">FLASH_CRCInitTypeDef</a>;</div>
</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno">  178</span> </div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno">  179</span><span class="preprocessor">#if (USE_FLASH_ECC == 1U)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno">  183</span><span class="keyword">typedef</span> <span class="keyword">struct</span></div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno">  184</span>{</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno">  185</span>  uint32_t               Area;             </div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno">  187</span> </div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno">  188</span>  uint32_t               Address;          </div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno">  189</span> </div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno">  190</span>} FLASH_EccInfoTypeDef;</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno">  191</span><span class="preprocessor">#endif </span><span class="comment">/* USE_FLASH_ECC */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno">  192</span></div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno">  196</span><span class="comment">/* Exported constants --------------------------------------------------------*/</span></div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno">  197</span></div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno">  201</span></div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___type___erase.html#gaee700cbbc746cf72fca3ebf07ee20c4e">  205</a></span><span class="preprocessor">#define FLASH_TYPEERASE_SECTORS      0x00U  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___type___erase.html#ga9bc03534e69c625e1b4f0f05c3852243">  206</a></span><span class="preprocessor">#define FLASH_TYPEERASE_MASSERASE    0x01U  </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno">  210</span> </div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno">  211</span><span class="preprocessor">#if defined (FLASH_CR_PSIZE)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno">  215</span><span class="preprocessor">#define FLASH_VOLTAGE_RANGE_1        0x00000000U       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno">  216</span><span class="preprocessor">#define FLASH_VOLTAGE_RANGE_2        FLASH_CR_PSIZE_0  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno">  217</span><span class="preprocessor">#define FLASH_VOLTAGE_RANGE_3        FLASH_CR_PSIZE_1  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno">  218</span><span class="preprocessor">#define FLASH_VOLTAGE_RANGE_4        FLASH_CR_PSIZE    </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno">  222</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_CR_PSIZE */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno">  223</span></div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___w_r_p___state.html#gaa34eb6205fe554f65a311ee974d5a4ab">  227</a></span><span class="preprocessor">#define OB_WRPSTATE_DISABLE          0x00000000U  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___w_r_p___state.html#ga9fc463145ab57616baa36d95523186a1">  228</a></span><span class="preprocessor">#define OB_WRPSTATE_ENABLE           0x00000001U  </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno">  232</span> </div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno">  233</span><span class="preprocessor">#if (USE_FLASH_ECC == 1U)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno">  238</span><span class="preprocessor">#define FLASH_ECC_AREA_USER_BANK1         0x00000000U        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno">  239</span><span class="preprocessor">#define FLASH_ECC_AREA_USER_BANK2         0x00000001U        </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno">  243</span><span class="preprocessor">#endif </span><span class="comment">/* USE_FLASH_ECC */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno">  244</span></div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___type.html#ga48712a166ea192ddcda0f2653679f9ec">  248</a></span><span class="preprocessor">#define OPTIONBYTE_WRP           0x01U  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___type.html#ga8f0bdb21ef13bae39d5d8b6619e2df06">  249</a></span><span class="preprocessor">#define OPTIONBYTE_RDP           0x02U  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___type.html#gac7d843e666e15c79688a1914e8ffe7a5">  250</a></span><span class="preprocessor">#define OPTIONBYTE_USER          0x04U  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___type.html#gade16326e09bd923b54f1ec8622a7bc4b">  251</a></span><span class="preprocessor">#define OPTIONBYTE_PCROP         0x08U  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___type.html#gaf4063216c8386467d187663190936c07">  252</a></span><span class="preprocessor">#define OPTIONBYTE_BOR           0x10U  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___type.html#gab331a7e15b717bdcae5a27d30e499b01">  253</a></span><span class="preprocessor">#define OPTIONBYTE_SECURE_AREA   0x20U  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno">  254</span><span class="preprocessor">#if defined (DUAL_CORE)</span></div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno">  255</span><span class="preprocessor">#define OPTIONBYTE_CM7_BOOTADD   0x40U  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno">  256</span><span class="preprocessor">#define OPTIONBYTE_CM4_BOOTADD   0x80U  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno">  257</span><span class="preprocessor">#define OPTIONBYTE_BOOTADD       OPTIONBYTE_CM7_BOOTADD  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno">  258</span><span class="preprocessor">#else </span><span class="comment">/* Single core */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___type.html#ga3d12aa37947dd9fc6155897b53f25eb0">  259</a></span><span class="preprocessor">#define OPTIONBYTE_BOOTADD       0x40U  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno">  260</span><span class="preprocessor">#endif </span><span class="comment">/*DUAL_CORE*/</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno">  261</span><span class="preprocessor">#if defined (FLASH_OTPBL_LOCKBL)</span></div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno">  262</span><span class="preprocessor">#define OPTIONBYTE_OTP_LOCK      0x80U  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno">  263</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_OTPBL_LOCKBL */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno">  264</span><span class="preprocessor">#if defined (FLASH_OPTSR2_TCM_AXI_SHARED)</span></div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno">  265</span><span class="preprocessor">#define OPTIONBYTE_SHARED_RAM    0x100U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno">  266</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_OPTSR2_TCM_AXI_SHARED */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno">  267</span><span class="preprocessor">#if defined (FLASH_OPTSR2_CPUFREQ_BOOST)</span></div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno">  268</span><span class="preprocessor">#define OPTIONBYTE_FREQ_BOOST    0x200U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno">  269</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_OPTSR2_CPUFREQ_BOOST */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno">  270</span> </div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno">  271</span><span class="preprocessor">#if defined (DUAL_CORE)</span></div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno">  272</span><span class="preprocessor">#define OPTIONBYTE_ALL           (OPTIONBYTE_WRP         | OPTIONBYTE_RDP        | OPTIONBYTE_USER        |\</span></div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno">  273</span><span class="preprocessor">                                  OPTIONBYTE_PCROP       | OPTIONBYTE_BOR        | OPTIONBYTE_SECURE_AREA |\</span></div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno">  274</span><span class="preprocessor">                                  OPTIONBYTE_CM7_BOOTADD | OPTIONBYTE_CM4_BOOTADD) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno">  275</span><span class="preprocessor">#elif defined (FLASH_OTPBL_LOCKBL)</span></div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno">  276</span><span class="preprocessor">#define OPTIONBYTE_ALL           (OPTIONBYTE_WRP         | OPTIONBYTE_RDP        | OPTIONBYTE_USER        |\</span></div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno">  277</span><span class="preprocessor">                                  OPTIONBYTE_PCROP       | OPTIONBYTE_BOR        | OPTIONBYTE_SECURE_AREA |\</span></div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno">  278</span><span class="preprocessor">                                  OPTIONBYTE_BOOTADD     | OPTIONBYTE_OTP_LOCK)    </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno">  279</span><span class="preprocessor">#elif defined (FLASH_OPTSR2_TCM_AXI_SHARED)</span></div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno">  280</span><span class="preprocessor">#define OPTIONBYTE_ALL           (OPTIONBYTE_WRP         | OPTIONBYTE_RDP        | OPTIONBYTE_USER        |\</span></div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno">  281</span><span class="preprocessor">                                  OPTIONBYTE_PCROP       | OPTIONBYTE_BOR        | OPTIONBYTE_SECURE_AREA |\</span></div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno">  282</span><span class="preprocessor">                                  OPTIONBYTE_BOOTADD     | OPTIONBYTE_SHARED_RAM | OPTIONBYTE_FREQ_BOOST) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno">  283</span><span class="preprocessor">#else</span></div>
<div class="foldopen" id="foldopen00284" data-start="" data-end="">
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___type.html#ga242f762f6db284aa457287f8bd74145b">  284</a></span><span class="preprocessor">#define OPTIONBYTE_ALL           (OPTIONBYTE_WRP         | OPTIONBYTE_RDP        | OPTIONBYTE_USER        |\</span></div>
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno">  285</span><span class="preprocessor">                                  OPTIONBYTE_PCROP       | OPTIONBYTE_BOR        | OPTIONBYTE_SECURE_AREA |\</span></div>
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno">  286</span><span class="preprocessor">                                  OPTIONBYTE_BOOTADD)                              </span><span class="preprocessor"></span></div>
</div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno">  287</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_CORE */</span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno">  291</span></div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno">  295</span><span class="preprocessor">#define OB_RDP_LEVEL_0       0xAA00U</span></div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno">  296</span><span class="preprocessor">#define OB_RDP_LEVEL_1       0x5500U</span></div>
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___bytes___read___protection.html#ga2262afca565429ce2808d835c49e5ee6">  297</a></span><span class="preprocessor">#define OB_RDP_LEVEL_2       0xCC00U   </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno">  302</span></div>
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___bytes___i_watchdog.html#ga5a357e232c955444c3f2ccb9a937ffce">  306</a></span><span class="preprocessor">#define OB_IWDG_SW           OB_IWDG1_SW  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___bytes___i_watchdog.html#gadfcbfa963d79c339ec8e2d5a7734e47a">  307</a></span><span class="preprocessor">#define OB_IWDG_HW           OB_IWDG1_HW  </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno">  311</span></div>
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___bytes__n_r_s_t___s_t_o_p.html#ga7344fe0ec25c5eb2d11db7c855325436">  315</a></span><span class="preprocessor">#define OB_STOP_NO_RST       0x40U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___bytes__n_r_s_t___s_t_o_p.html#gaef92c03b1f279c532bfa13d3bb074b57">  316</a></span><span class="preprocessor">#define OB_STOP_RST          0x00U </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno">  320</span></div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___bytes__n_r_s_t___s_t_d_b_y.html#gad776ed7b3b9a98013aac9976eedb7e94">  324</a></span><span class="preprocessor">#define OB_STDBY_NO_RST      0x80U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___bytes__n_r_s_t___s_t_d_b_y.html#ga69451a6f69247528f58735c9c83499ce">  325</a></span><span class="preprocessor">#define OB_STDBY_RST         0x00U </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno">  329</span></div>
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___bytes___i_w_d_g___f_r_e_e_z_e___s_t_o_p.html#gae0c882a6f14ebe5d1969b50d5a2dbb17">  333</a></span><span class="preprocessor">#define OB_IWDG_STOP_FREEZE  0x00000000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___bytes___i_w_d_g___f_r_e_e_z_e___s_t_o_p.html#gacbec0b12f9a0cebadcba12ed53891a2c">  334</a></span><span class="preprocessor">#define OB_IWDG_STOP_ACTIVE  FLASH_OPTSR_FZ_IWDG_STOP </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno">  338</span></div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___bytes___i_w_d_g___f_r_e_e_z_e___s_a_n_d_b_y.html#ga2033b993c192a55757fc3fb0d8cfebc9">  342</a></span><span class="preprocessor">#define OB_IWDG_STDBY_FREEZE 0x00000000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___bytes___i_w_d_g___f_r_e_e_z_e___s_a_n_d_b_y.html#gac371d40c19dd808bdcf77c77a07e2944">  343</a></span><span class="preprocessor">#define OB_IWDG_STDBY_ACTIVE FLASH_OPTSR_FZ_IWDG_SDBY  </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno">  347</span></div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___b_o_r___reset___level.html#ga08a8d333e34b1fd8b0a701ce4e4f8156">  351</a></span><span class="preprocessor">#define OB_BOR_LEVEL0        0x00000000U                </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___b_o_r___reset___level.html#ga3a888b788e75f0bc1f9add85c9ccd9d6">  352</a></span><span class="preprocessor">#define OB_BOR_LEVEL1        FLASH_OPTSR_BOR_LEV_0      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___b_o_r___reset___level.html#gad678e849fcf817f6ed2d837538e8ebc2">  353</a></span><span class="preprocessor">#define OB_BOR_LEVEL2        FLASH_OPTSR_BOR_LEV_1      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___b_o_r___reset___level.html#ga3132b8202c0a345e9dd33d136714b046">  354</a></span><span class="preprocessor">#define OB_BOR_LEVEL3        (FLASH_OPTSR_BOR_LEV_1 | FLASH_OPTSR_BOR_LEV_0) </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno">  358</span> </div>
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno">  359</span> </div>
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno">  360</span></div>
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___boot___address.html#gae797c2f1d768d2510c0e65a099fc3ae5">  364</a></span><span class="preprocessor">#define OB_BOOTADDR_ITCM_RAM     0x0000U  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___boot___address.html#ga8d50c2bc93901d6a9f5aefa39222a214">  365</a></span><span class="preprocessor">#define OB_BOOTADDR_SYSTEM       0x0040U  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___boot___address.html#gaea77a4354df992be1506926df57c2874">  366</a></span><span class="preprocessor">#define OB_BOOTADDR_ITCM_FLASH   0x0080U  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___boot___address.html#ga71dbc64420d7b5cd38400bd654755a79">  367</a></span><span class="preprocessor">#define OB_BOOTADDR_AXIM_FLASH   0x2000U  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___boot___address.html#ga92bac256ef970f2311497027287c6512">  368</a></span><span class="preprocessor">#define OB_BOOTADDR_DTCM_RAM     0x8000U  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___boot___address.html#ga09357310fe2e2fa07325c97d3b8f5fda">  369</a></span><span class="preprocessor">#define OB_BOOTADDR_SRAM1        0x8004U  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___boot___address.html#ga3d8f5bea60a549c9daf4340d47193c09">  370</a></span><span class="preprocessor">#define OB_BOOTADDR_SRAM2        0x8013U  </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno">  374</span></div>
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___latency.html#ga1276f51e97dc9857ca261fae4eb890f3">  378</a></span><span class="preprocessor">#define FLASH_LATENCY_0          FLASH_ACR_LATENCY_0WS   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___latency.html#ga28c611f2cb4a3772ab37c538357fd5f6">  379</a></span><span class="preprocessor">#define FLASH_LATENCY_1          FLASH_ACR_LATENCY_1WS   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___latency.html#ga69d209f9cb4f625010d72555c8dceb03">  380</a></span><span class="preprocessor">#define FLASH_LATENCY_2          FLASH_ACR_LATENCY_2WS   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___latency.html#ga2f607c9fa7bdcd53df0e98a7b1e67496">  381</a></span><span class="preprocessor">#define FLASH_LATENCY_3          FLASH_ACR_LATENCY_3WS   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___latency.html#ga65fe32d2c25a3d5ee3dce89dee459fa5">  382</a></span><span class="preprocessor">#define FLASH_LATENCY_4          FLASH_ACR_LATENCY_4WS   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___latency.html#ga2517d62fa71e27b3b53223bbaacd06f7">  383</a></span><span class="preprocessor">#define FLASH_LATENCY_5          FLASH_ACR_LATENCY_5WS   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___latency.html#gad047485b4941997af3c55ad61ad9c13a">  384</a></span><span class="preprocessor">#define FLASH_LATENCY_6          FLASH_ACR_LATENCY_6WS   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___latency.html#ga09e9f01dd2e6e361adc9c995a5a73510">  385</a></span><span class="preprocessor">#define FLASH_LATENCY_7          FLASH_ACR_LATENCY_7WS   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno">  386</span> </div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno">  387</span><span class="comment">/* Unused FLASH Latency defines */</span></div>
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___latency.html#ga50fca6ee68a03a46093ddd1aad0a604b">  388</a></span><span class="preprocessor">#define FLASH_LATENCY_8          FLASH_ACR_LATENCY_8WS   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___latency.html#gac7d2f544eb57b8bc1d1c09d541963b3d">  389</a></span><span class="preprocessor">#define FLASH_LATENCY_9          FLASH_ACR_LATENCY_9WS   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___latency.html#ga952e79cae902b129bf4b80de551a99f0">  390</a></span><span class="preprocessor">#define FLASH_LATENCY_10         FLASH_ACR_LATENCY_10WS  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___latency.html#ga235a33dd983649073f34c116c652d96a">  391</a></span><span class="preprocessor">#define FLASH_LATENCY_11         FLASH_ACR_LATENCY_11WS  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___latency.html#ga20112b2d31eba4cd95f777c1f8114d9e">  392</a></span><span class="preprocessor">#define FLASH_LATENCY_12         FLASH_ACR_LATENCY_12WS  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___latency.html#ga38e8648bb8eda820024540149ffd6862">  393</a></span><span class="preprocessor">#define FLASH_LATENCY_13         FLASH_ACR_LATENCY_13WS  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___latency.html#gaf8e5bf2f7815e848d1fd17c0bceb6cbc">  394</a></span><span class="preprocessor">#define FLASH_LATENCY_14         FLASH_ACR_LATENCY_14WS  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___latency.html#ga1ab3df3c865f316286cc653a7e8a6b5a">  395</a></span><span class="preprocessor">#define FLASH_LATENCY_15         FLASH_ACR_LATENCY_15WS  </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno">  399</span></div>
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___banks.html#ga8ac3f24496e5de6a2f6bd3ff77f0ca53">  403</a></span><span class="preprocessor">#define FLASH_BANK_1             0x01U                         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno">  404</span><span class="preprocessor">#if defined (DUAL_BANK)</span></div>
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno">  405</span><span class="preprocessor">#define FLASH_BANK_2             0x02U                         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno">  406</span><span class="preprocessor">#define FLASH_BANK_BOTH          (FLASH_BANK_1 | FLASH_BANK_2) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno">  407</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_BANK */</span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno">  411</span></div>
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___p_c_r_o_p___r_d_p.html#gaa64bfd8f4fa303d49e40d21a865bfe4b">  415</a></span><span class="preprocessor">#define OB_PCROP_RDP_NOT_ERASE   0x00000000U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00417" name="l00417"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___p_c_r_o_p___r_d_p.html#gadc1d319505606fc82937702a2baf1bd3">  417</a></span><span class="preprocessor">#define OB_PCROP_RDP_ERASE       FLASH_PRAR_DMEP </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno">  419</span></div>
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno">  423</span></div>
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno">  427</span><span class="preprocessor">#if (FLASH_SECTOR_TOTAL == 128)</span></div>
<div class="line"><a id="l00428" name="l00428"></a><span class="lineno">  428</span><span class="preprocessor">#define OB_WRP_SECTOR_0TO3       0x00000001U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00429" name="l00429"></a><span class="lineno">  429</span><span class="preprocessor">#define OB_WRP_SECTOR_4TO7       0x00000002U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno">  430</span><span class="preprocessor">#define OB_WRP_SECTOR_8TO11      0x00000004U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno">  431</span><span class="preprocessor">#define OB_WRP_SECTOR_12TO15     0x00000008U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno">  432</span><span class="preprocessor">#define OB_WRP_SECTOR_16TO19     0x00000010U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno">  433</span><span class="preprocessor">#define OB_WRP_SECTOR_20TO23     0x00000020U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno">  434</span><span class="preprocessor">#define OB_WRP_SECTOR_24TO27     0x00000040U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00435" name="l00435"></a><span class="lineno">  435</span><span class="preprocessor">#define OB_WRP_SECTOR_28TO31     0x00000080U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno">  436</span><span class="preprocessor">#define OB_WRP_SECTOR_32TO35     0x00000100U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno">  437</span><span class="preprocessor">#define OB_WRP_SECTOR_36TO39     0x00000200U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00438" name="l00438"></a><span class="lineno">  438</span><span class="preprocessor">#define OB_WRP_SECTOR_40TO43     0x00000400U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno">  439</span><span class="preprocessor">#define OB_WRP_SECTOR_44TO47     0x00000800U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno">  440</span><span class="preprocessor">#define OB_WRP_SECTOR_48TO51     0x00001000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno">  441</span><span class="preprocessor">#define OB_WRP_SECTOR_52TO55     0x00002000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno">  442</span><span class="preprocessor">#define OB_WRP_SECTOR_56TO59     0x00004000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00443" name="l00443"></a><span class="lineno">  443</span><span class="preprocessor">#define OB_WRP_SECTOR_60TO63     0x00008000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00444" name="l00444"></a><span class="lineno">  444</span><span class="preprocessor">#define OB_WRP_SECTOR_64TO67     0x00010000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00445" name="l00445"></a><span class="lineno">  445</span><span class="preprocessor">#define OB_WRP_SECTOR_68TO71     0x00020000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno">  446</span><span class="preprocessor">#define OB_WRP_SECTOR_72TO75     0x00040000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno">  447</span><span class="preprocessor">#define OB_WRP_SECTOR_76TO79     0x00080000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno">  448</span><span class="preprocessor">#define OB_WRP_SECTOR_80TO83     0x00100000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00449" name="l00449"></a><span class="lineno">  449</span><span class="preprocessor">#define OB_WRP_SECTOR_84TO87     0x00200000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno">  450</span><span class="preprocessor">#define OB_WRP_SECTOR_88TO91     0x00400000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno">  451</span><span class="preprocessor">#define OB_WRP_SECTOR_92TO95     0x00800000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00452" name="l00452"></a><span class="lineno">  452</span><span class="preprocessor">#define OB_WRP_SECTOR_96TO99     0x01000000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00453" name="l00453"></a><span class="lineno">  453</span><span class="preprocessor">#define OB_WRP_SECTOR_100TO103   0x02000000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00454" name="l00454"></a><span class="lineno">  454</span><span class="preprocessor">#define OB_WRP_SECTOR_104TO107   0x04000000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00455" name="l00455"></a><span class="lineno">  455</span><span class="preprocessor">#define OB_WRP_SECTOR_108TO111   0x08000000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00456" name="l00456"></a><span class="lineno">  456</span><span class="preprocessor">#define OB_WRP_SECTOR_112TO115   0x10000000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00457" name="l00457"></a><span class="lineno">  457</span><span class="preprocessor">#define OB_WRP_SECTOR_116TO119   0x20000000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno">  458</span><span class="preprocessor">#define OB_WRP_SECTOR_120TO123   0x40000000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno">  459</span><span class="preprocessor">#define OB_WRP_SECTOR_124TO127   0x80000000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno">  460</span><span class="preprocessor">#define OB_WRP_SECTOR_ALL        0xFFFFFFFFU </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno">  461</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00462" name="l00462"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___bytes___write___protection.html#gaa9a84eab02b9e32d4d12e30eae731d0f">  462</a></span><span class="preprocessor">#define OB_WRP_SECTOR_0          0x00000001U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00463" name="l00463"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___bytes___write___protection.html#ga3f57a106dc14c2b9806e5311e96031d6">  463</a></span><span class="preprocessor">#define OB_WRP_SECTOR_1          0x00000002U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___bytes___write___protection.html#gad8b13ac3000514a6a05ff2306c657a76">  464</a></span><span class="preprocessor">#define OB_WRP_SECTOR_2          0x00000004U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00465" name="l00465"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___bytes___write___protection.html#ga93c4703a5aa2f3348ca7f394e9b8ad7c">  465</a></span><span class="preprocessor">#define OB_WRP_SECTOR_3          0x00000008U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00466" name="l00466"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___bytes___write___protection.html#gadcb0d55662ead30d4d92dde1ff6ecc8f">  466</a></span><span class="preprocessor">#define OB_WRP_SECTOR_4          0x00000010U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00467" name="l00467"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___bytes___write___protection.html#ga53c67ee41ff1cc7df79f5c73b9b7ed96">  467</a></span><span class="preprocessor">#define OB_WRP_SECTOR_5          0x00000020U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00468" name="l00468"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___bytes___write___protection.html#ga08b2867102a08b114d45598dfc7915d5">  468</a></span><span class="preprocessor">#define OB_WRP_SECTOR_6          0x00000040U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___bytes___write___protection.html#ga7de707c6772bb3caa72e6d87759ab57e">  469</a></span><span class="preprocessor">#define OB_WRP_SECTOR_7          0x00000080U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___option___bytes___write___protection.html#gab83c841f7fd106536ec1dd865573b80a">  470</a></span><span class="preprocessor">#define OB_WRP_SECTOR_ALL        0x000000FFU </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno">  471</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_SECTOR_TOTAL == 128 */</span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00475" name="l00475"></a><span class="lineno">  475</span></div>
<div class="line"><a id="l00479" name="l00479"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___s_e_c_u_r_i_t_y.html#gad7599b114220fb9fb493feaefa6ab76a">  479</a></span><span class="preprocessor">#define OB_SECURITY_DISABLE   0x00000000U             </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00480" name="l00480"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___s_e_c_u_r_i_t_y.html#ga65cf987abc534ac99ad41cbc9641ffe0">  480</a></span><span class="preprocessor">#define OB_SECURITY_ENABLE    FLASH_OPTSR_SECURITY    </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00484" name="l00484"></a><span class="lineno">  484</span></div>
<div class="line"><a id="l00488" name="l00488"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___s_t___r_a_m___s_i_z_e.html#ga04217fd5bfd5f72f7133fa4fb282de7b">  488</a></span><span class="preprocessor">#define OB_ST_RAM_SIZE_2KB    0x00000000U               </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00489" name="l00489"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___s_t___r_a_m___s_i_z_e.html#gafb8da0413dc083a96979f423b2fe668a">  489</a></span><span class="preprocessor">#define OB_ST_RAM_SIZE_4KB    FLASH_OPTSR_ST_RAM_SIZE_0 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00490" name="l00490"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___s_t___r_a_m___s_i_z_e.html#ga62bd8548d6942106d8e5bbac1a3e1165">  490</a></span><span class="preprocessor">#define OB_ST_RAM_SIZE_8KB    FLASH_OPTSR_ST_RAM_SIZE_1 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00491" name="l00491"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___s_t___r_a_m___s_i_z_e.html#gac8b2bbd7d709bb642a277fe393afebce">  491</a></span><span class="preprocessor">#define OB_ST_RAM_SIZE_16KB   FLASH_OPTSR_ST_RAM_SIZE   </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00495" name="l00495"></a><span class="lineno">  495</span> </div>
<div class="line"><a id="l00496" name="l00496"></a><span class="lineno">  496</span><span class="preprocessor">#if defined(DUAL_CORE)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00500" name="l00500"></a><span class="lineno">  500</span><span class="preprocessor">#define OB_BCM7_DISABLE       0x00000000U              </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00501" name="l00501"></a><span class="lineno">  501</span><span class="preprocessor">#define OB_BCM7_ENABLE        FLASH_OPTSR_BCM7         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00502" name="l00502"></a><span class="lineno">  502</span></div>
<div class="line"><a id="l00506" name="l00506"></a><span class="lineno">  506</span></div>
<div class="line"><a id="l00510" name="l00510"></a><span class="lineno">  510</span><span class="preprocessor">#define OB_BCM4_DISABLE       0x00000000U              </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00511" name="l00511"></a><span class="lineno">  511</span><span class="preprocessor">#define OB_BCM4_ENABLE        FLASH_OPTSR_BCM4         </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00515" name="l00515"></a><span class="lineno">  515</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_CORE */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00516" name="l00516"></a><span class="lineno">  516</span></div>
<div class="line"><a id="l00520" name="l00520"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___i_w_d_g1___s_w.html#gaca3bd64d1363e15b34eccd54f855de7e">  520</a></span><span class="preprocessor">#define OB_IWDG1_SW            FLASH_OPTSR_IWDG1_SW </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00521" name="l00521"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___i_w_d_g1___s_w.html#ga0f515281b1c4ccb2bd14bb4a653b2a06">  521</a></span><span class="preprocessor">#define OB_IWDG1_HW            0x00000000U          </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00525" name="l00525"></a><span class="lineno">  525</span> </div>
<div class="line"><a id="l00526" name="l00526"></a><span class="lineno">  526</span><span class="preprocessor">#if defined(DUAL_CORE)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00530" name="l00530"></a><span class="lineno">  530</span><span class="preprocessor">#define OB_IWDG2_SW            FLASH_OPTSR_IWDG2_SW  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00531" name="l00531"></a><span class="lineno">  531</span><span class="preprocessor">#define OB_IWDG2_HW            0x00000000U           </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00535" name="l00535"></a><span class="lineno">  535</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00536" name="l00536"></a><span class="lineno">  536</span></div>
<div class="line"><a id="l00540" name="l00540"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___n_r_s_t___s_t_o_p___d1.html#ga7496d9f8feb32fd49a18bd7e05646095">  540</a></span><span class="preprocessor">#define OB_STOP_RST_D1         0x00000000U              </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00541" name="l00541"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___n_r_s_t___s_t_o_p___d1.html#ga54518e62a53dc555cc92394b19817369">  541</a></span><span class="preprocessor">#define OB_STOP_NO_RST_D1      FLASH_OPTSR_NRST_STOP_D1 </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00545" name="l00545"></a><span class="lineno">  545</span></div>
<div class="line"><a id="l00549" name="l00549"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___n_r_s_t___s_t_d_b_y___d1.html#gafd66c897008e782380565076090fa914">  549</a></span><span class="preprocessor">#define OB_STDBY_RST_D1        0x00000000U              </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00550" name="l00550"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___n_r_s_t___s_t_d_b_y___d1.html#ga74d8f18fcf2d305e1538fba6867907e4">  550</a></span><span class="preprocessor">#define OB_STDBY_NO_RST_D1     FLASH_OPTSR_NRST_STBY_D1 </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00554" name="l00554"></a><span class="lineno">  554</span> </div>
<div class="line"><a id="l00555" name="l00555"></a><span class="lineno">  555</span><span class="preprocessor">#if defined (FLASH_OPTSR_NRST_STOP_D2)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00559" name="l00559"></a><span class="lineno">  559</span><span class="preprocessor">#define OB_STOP_RST_D2         0x00000000U              </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00560" name="l00560"></a><span class="lineno">  560</span><span class="preprocessor">#define OB_STOP_NO_RST_D2      FLASH_OPTSR_NRST_STOP_D2 </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00564" name="l00564"></a><span class="lineno">  564</span></div>
<div class="line"><a id="l00568" name="l00568"></a><span class="lineno">  568</span><span class="preprocessor">#define OB_STDBY_RST_D2        0x00000000U              </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00569" name="l00569"></a><span class="lineno">  569</span><span class="preprocessor">#define OB_STDBY_NO_RST_D2     FLASH_OPTSR_NRST_STBY_D2 </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00573" name="l00573"></a><span class="lineno">  573</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_OPTSR_NRST_STOP_D2 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00574" name="l00574"></a><span class="lineno">  574</span> </div>
<div class="line"><a id="l00575" name="l00575"></a><span class="lineno">  575</span><span class="preprocessor">#if defined (DUAL_BANK)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00579" name="l00579"></a><span class="lineno">  579</span><span class="preprocessor">#define OB_SWAP_BANK_DISABLE   0x00000000U               </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00580" name="l00580"></a><span class="lineno">  580</span><span class="preprocessor">#define OB_SWAP_BANK_ENABLE    FLASH_OPTSR_SWAP_BANK_OPT </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00584" name="l00584"></a><span class="lineno">  584</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_BANK */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00585" name="l00585"></a><span class="lineno">  585</span></div>
<div class="line"><a id="l00589" name="l00589"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___i_o_h_s_l_v.html#ga8030bff5b676b9921dc3973a3ab9ff72">  589</a></span><span class="preprocessor">#define OB_IOHSLV_DISABLE      0x00000000U         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00590" name="l00590"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___i_o_h_s_l_v.html#ga099290745e25bd5a7f1ca84ace05fb24">  590</a></span><span class="preprocessor">#define OB_IOHSLV_ENABLE       FLASH_OPTSR_IO_HSLV </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00594" name="l00594"></a><span class="lineno">  594</span> </div>
<div class="line"><a id="l00595" name="l00595"></a><span class="lineno">  595</span><span class="preprocessor">#if defined (FLASH_OPTSR_VDDMMC_HSLV)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00599" name="l00599"></a><span class="lineno">  599</span><span class="preprocessor">#define OB_VDDMMC_HSLV_DISABLE 0x00000000U             </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00600" name="l00600"></a><span class="lineno">  600</span><span class="preprocessor">#define OB_VDDMMC_HSLV_ENABLE  FLASH_OPTSR_VDDMMC_HSLV </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00604" name="l00604"></a><span class="lineno">  604</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_OPTSR_VDDMMC_HSLV */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00605" name="l00605"></a><span class="lineno">  605</span> </div>
<div class="line"><a id="l00606" name="l00606"></a><span class="lineno">  606</span><span class="preprocessor">#if defined (FLASH_OPTSR2_CPUFREQ_BOOST)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00610" name="l00610"></a><span class="lineno">  610</span><span class="preprocessor">#define OB_CPUFREQ_BOOST_DISABLE     0x00000000U                </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00611" name="l00611"></a><span class="lineno">  611</span><span class="preprocessor">#define OB_CPUFREQ_BOOST_ENABLE      FLASH_OPTSR2_CPUFREQ_BOOST </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00615" name="l00615"></a><span class="lineno">  615</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_OPTSR2_CPUFREQ_BOOST */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00616" name="l00616"></a><span class="lineno">  616</span> </div>
<div class="line"><a id="l00617" name="l00617"></a><span class="lineno">  617</span><span class="preprocessor">#if defined (FLASH_OPTSR2_TCM_AXI_SHARED)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00621" name="l00621"></a><span class="lineno">  621</span><span class="preprocessor">#define OB_TCM_AXI_SHARED_ITCM64KB   0x00000000U                   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00622" name="l00622"></a><span class="lineno">  622</span><span class="preprocessor">#define OB_TCM_AXI_SHARED_ITCM128KB  FLASH_OPTSR2_TCM_AXI_SHARED_0 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00623" name="l00623"></a><span class="lineno">  623</span><span class="preprocessor">#define OB_TCM_AXI_SHARED_ITCM192KB  FLASH_OPTSR2_TCM_AXI_SHARED_1 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00624" name="l00624"></a><span class="lineno">  624</span><span class="preprocessor">#define OB_TCM_AXI_SHARED_ITCM256KB  FLASH_OPTSR2_TCM_AXI_SHARED   </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00628" name="l00628"></a><span class="lineno">  628</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_OPTSR2_TCM_AXI_SHARED */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00629" name="l00629"></a><span class="lineno">  629</span></div>
<div class="line"><a id="l00633" name="l00633"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___u_s_e_r___type.html#gaff6bdc849192b724a8e1abf184f58c15">  633</a></span><span class="preprocessor">#define OB_USER_IWDG1_SW          0x0001U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00634" name="l00634"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___u_s_e_r___type.html#ga322c13d95a528ebbc87684dd71f004d2">  634</a></span><span class="preprocessor">#define OB_USER_NRST_STOP_D1      0x0002U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00635" name="l00635"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___u_s_e_r___type.html#gabf5036f303eb9cb39b2a7bf1f9408007">  635</a></span><span class="preprocessor">#define OB_USER_NRST_STDBY_D1     0x0004U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00636" name="l00636"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___u_s_e_r___type.html#ga1a7ae96d361bcb5605777881c47241f8">  636</a></span><span class="preprocessor">#define OB_USER_IWDG_STOP         0x0008U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00637" name="l00637"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___u_s_e_r___type.html#gab0b376afa9327bc01686d5f868e78296">  637</a></span><span class="preprocessor">#define OB_USER_IWDG_STDBY        0x0010U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00638" name="l00638"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___u_s_e_r___type.html#gab591063c9e71b44265138c8a24baa3ca">  638</a></span><span class="preprocessor">#define OB_USER_ST_RAM_SIZE       0x0020U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00639" name="l00639"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___u_s_e_r___type.html#ga07e5b8e86f649bb28bd7c21d86f2d221">  639</a></span><span class="preprocessor">#define OB_USER_SECURITY          0x0040U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00640" name="l00640"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___u_s_e_r___type.html#gac7385655be55b88e9104655d9f3dcff4">  640</a></span><span class="preprocessor">#define OB_USER_IOHSLV            0x0080U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00641" name="l00641"></a><span class="lineno">  641</span><span class="preprocessor">#if defined (DUAL_BANK)</span></div>
<div class="line"><a id="l00642" name="l00642"></a><span class="lineno">  642</span><span class="preprocessor">#define OB_USER_SWAP_BANK         0x0100U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00643" name="l00643"></a><span class="lineno">  643</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_BANK */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00644" name="l00644"></a><span class="lineno">  644</span><span class="preprocessor">#if defined (FLASH_OPTSR_VDDMMC_HSLV)</span></div>
<div class="line"><a id="l00645" name="l00645"></a><span class="lineno">  645</span><span class="preprocessor">#define OB_USER_VDDMMC_HSLV       0x0200U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00646" name="l00646"></a><span class="lineno">  646</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_OPTSR_VDDMMC_HSLV */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00647" name="l00647"></a><span class="lineno">  647</span><span class="preprocessor">#if defined (DUAL_CORE)</span></div>
<div class="line"><a id="l00648" name="l00648"></a><span class="lineno">  648</span><span class="preprocessor">#define OB_USER_IWDG2_SW          0x0200U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00649" name="l00649"></a><span class="lineno">  649</span><span class="preprocessor">#define OB_USER_BCM4              0x0400U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00650" name="l00650"></a><span class="lineno">  650</span><span class="preprocessor">#define OB_USER_BCM7              0x0800U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00651" name="l00651"></a><span class="lineno">  651</span><span class="preprocessor">#endif </span><span class="comment">/*DUAL_CORE*/</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00652" name="l00652"></a><span class="lineno">  652</span><span class="preprocessor">#if defined (FLASH_OPTSR_NRST_STOP_D2)</span></div>
<div class="line"><a id="l00653" name="l00653"></a><span class="lineno">  653</span><span class="preprocessor">#define OB_USER_NRST_STOP_D2      0x1000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00654" name="l00654"></a><span class="lineno">  654</span><span class="preprocessor">#define OB_USER_NRST_STDBY_D2     0x2000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00655" name="l00655"></a><span class="lineno">  655</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_OPTSR_NRST_STOP_D2 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00656" name="l00656"></a><span class="lineno">  656</span> </div>
<div class="line"><a id="l00657" name="l00657"></a><span class="lineno">  657</span><span class="preprocessor">#if defined (DUAL_CORE)</span></div>
<div class="line"><a id="l00658" name="l00658"></a><span class="lineno">  658</span><span class="preprocessor">#define OB_USER_ALL (OB_USER_IWDG1_SW     | OB_USER_NRST_STOP_D1 | OB_USER_NRST_STDBY_D1 |\</span></div>
<div class="line"><a id="l00659" name="l00659"></a><span class="lineno">  659</span><span class="preprocessor">                     OB_USER_IWDG_STOP    | OB_USER_IWDG_STDBY   | OB_USER_ST_RAM_SIZE   |\</span></div>
<div class="line"><a id="l00660" name="l00660"></a><span class="lineno">  660</span><span class="preprocessor">                     OB_USER_SECURITY     | OB_USER_IOHSLV       | OB_USER_SWAP_BANK     |\</span></div>
<div class="line"><a id="l00661" name="l00661"></a><span class="lineno">  661</span><span class="preprocessor">                     OB_USER_IWDG2_SW     | OB_USER_BCM4         | OB_USER_BCM7          |\</span></div>
<div class="line"><a id="l00662" name="l00662"></a><span class="lineno">  662</span><span class="preprocessor">                     OB_USER_NRST_STOP_D2 | OB_USER_NRST_STDBY_D2)</span></div>
<div class="line"><a id="l00663" name="l00663"></a><span class="lineno">  663</span><span class="preprocessor">#elif defined (FLASH_OPTSR_VDDMMC_HSLV)</span></div>
<div class="line"><a id="l00664" name="l00664"></a><span class="lineno">  664</span><span class="preprocessor">#if defined (DUAL_BANK)</span></div>
<div class="line"><a id="l00665" name="l00665"></a><span class="lineno">  665</span><span class="preprocessor">#define OB_USER_ALL (OB_USER_IWDG1_SW     | OB_USER_NRST_STOP_D1 | OB_USER_NRST_STDBY_D1 |\</span></div>
<div class="line"><a id="l00666" name="l00666"></a><span class="lineno">  666</span><span class="preprocessor">                     OB_USER_IWDG_STOP    | OB_USER_IWDG_STDBY   | OB_USER_ST_RAM_SIZE   |\</span></div>
<div class="line"><a id="l00667" name="l00667"></a><span class="lineno">  667</span><span class="preprocessor">                     OB_USER_SECURITY     | OB_USER_IOHSLV       | OB_USER_SWAP_BANK     |\</span></div>
<div class="line"><a id="l00668" name="l00668"></a><span class="lineno">  668</span><span class="preprocessor">                     OB_USER_VDDMMC_HSLV)</span></div>
<div class="line"><a id="l00669" name="l00669"></a><span class="lineno">  669</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00670" name="l00670"></a><span class="lineno">  670</span><span class="preprocessor">#define OB_USER_ALL (OB_USER_IWDG1_SW     | OB_USER_NRST_STOP_D1 | OB_USER_NRST_STDBY_D1 |\</span></div>
<div class="line"><a id="l00671" name="l00671"></a><span class="lineno">  671</span><span class="preprocessor">                     OB_USER_IWDG_STOP    | OB_USER_IWDG_STDBY   | OB_USER_ST_RAM_SIZE   |\</span></div>
<div class="line"><a id="l00672" name="l00672"></a><span class="lineno">  672</span><span class="preprocessor">                     OB_USER_SECURITY     | OB_USER_IOHSLV                               |\</span></div>
<div class="line"><a id="l00673" name="l00673"></a><span class="lineno">  673</span><span class="preprocessor">                     OB_USER_VDDMMC_HSLV)</span></div>
<div class="line"><a id="l00674" name="l00674"></a><span class="lineno">  674</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_BANK */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00675" name="l00675"></a><span class="lineno">  675</span><span class="preprocessor">#elif defined (FLASH_OPTSR2_TCM_AXI_SHARED)</span></div>
<div class="line"><a id="l00676" name="l00676"></a><span class="lineno">  676</span><span class="preprocessor">#define OB_USER_ALL (OB_USER_IWDG1_SW     | OB_USER_NRST_STOP_D1 | OB_USER_NRST_STDBY_D1 |\</span></div>
<div class="line"><a id="l00677" name="l00677"></a><span class="lineno">  677</span><span class="preprocessor">                     OB_USER_IWDG_STOP    | OB_USER_IWDG_STDBY   | OB_USER_ST_RAM_SIZE   |\</span></div>
<div class="line"><a id="l00678" name="l00678"></a><span class="lineno">  678</span><span class="preprocessor">                     OB_USER_SECURITY     | OB_USER_IOHSLV                               |\</span></div>
<div class="line"><a id="l00679" name="l00679"></a><span class="lineno">  679</span><span class="preprocessor">                     OB_USER_NRST_STOP_D2 | OB_USER_NRST_STDBY_D2)</span></div>
<div class="line"><a id="l00680" name="l00680"></a><span class="lineno">  680</span><span class="preprocessor">#else </span><span class="comment">/* Single core */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00681" name="l00681"></a><span class="lineno">  681</span><span class="preprocessor">#if defined (DUAL_BANK)</span></div>
<div class="line"><a id="l00682" name="l00682"></a><span class="lineno">  682</span><span class="preprocessor">#define OB_USER_ALL (OB_USER_IWDG1_SW     | OB_USER_NRST_STOP_D1 | OB_USER_NRST_STDBY_D1 |\</span></div>
<div class="line"><a id="l00683" name="l00683"></a><span class="lineno">  683</span><span class="preprocessor">                     OB_USER_IWDG_STOP    | OB_USER_IWDG_STDBY   | OB_USER_ST_RAM_SIZE   |\</span></div>
<div class="line"><a id="l00684" name="l00684"></a><span class="lineno">  684</span><span class="preprocessor">                     OB_USER_SECURITY     | OB_USER_IOHSLV       | OB_USER_SWAP_BANK     )</span></div>
<div class="line"><a id="l00685" name="l00685"></a><span class="lineno">  685</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00686" name="l00686"></a><span class="lineno">  686</span><span class="preprocessor">#define OB_USER_ALL (OB_USER_IWDG1_SW     | OB_USER_NRST_STOP_D1 | OB_USER_NRST_STDBY_D1 |\</span></div>
<div class="line"><a id="l00687" name="l00687"></a><span class="lineno">  687</span><span class="preprocessor">                     OB_USER_IWDG_STOP    | OB_USER_IWDG_STDBY   | OB_USER_ST_RAM_SIZE   |\</span></div>
<div class="line"><a id="l00688" name="l00688"></a><span class="lineno">  688</span><span class="preprocessor">                     OB_USER_SECURITY     | OB_USER_IOHSLV                               )</span></div>
<div class="line"><a id="l00689" name="l00689"></a><span class="lineno">  689</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_BANK */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00690" name="l00690"></a><span class="lineno">  690</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_CORE */</span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00694" name="l00694"></a><span class="lineno">  694</span></div>
<div class="line"><a id="l00698" name="l00698"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___b_o_o_t___o_p_t_i_o_n.html#ga811cba88354fa9a1e7acbd97dda20f96">  698</a></span><span class="preprocessor">#define OB_BOOT_ADD0           0x01U       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00699" name="l00699"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___b_o_o_t___o_p_t_i_o_n.html#ga51f3f1260815a690a496c82bb1c95141">  699</a></span><span class="preprocessor">#define OB_BOOT_ADD1           0x02U       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00700" name="l00700"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___b_o_o_t___o_p_t_i_o_n.html#ga8872d795a3aed08e90990b16aadcbbfc">  700</a></span><span class="preprocessor">#define OB_BOOT_ADD_BOTH       0x03U       </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00704" name="l00704"></a><span class="lineno">  704</span></div>
<div class="line"><a id="l00708" name="l00708"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___s_e_c_u_r_e___r_d_p.html#ga6af9739c8ce5411fa7bd08a43085467f">  708</a></span><span class="preprocessor">#define OB_SECURE_RDP_NOT_ERASE   0x00000000U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00710" name="l00710"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___o_b___s_e_c_u_r_e___r_d_p.html#gaed5a6331a1c20d0cc0d23a6b7a06d36b">  710</a></span><span class="preprocessor">#define OB_SECURE_RDP_ERASE       FLASH_SCAR_DMES </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00715" name="l00715"></a><span class="lineno">  715</span></div>
<div class="line"><a id="l00719" name="l00719"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___c_r_c___selection___type.html#ga701a5f2da56e320a5196bee265d5d290">  719</a></span><span class="preprocessor">#define FLASH_CRC_ADDR         0x00000000U              </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00720" name="l00720"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___c_r_c___selection___type.html#ga4b6569ae79c85acc8c311bedfbdbfc9a">  720</a></span><span class="preprocessor">#define FLASH_CRC_SECTORS      FLASH_CRCCR_CRC_BY_SECT  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00721" name="l00721"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___c_r_c___selection___type.html#ga0ec0a69e733de8c2d126f80861cdec51">  721</a></span><span class="preprocessor">#define FLASH_CRC_BANK         (FLASH_CRCCR_ALL_BANK | FLASH_CRCCR_CRC_BY_SECT) </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00725" name="l00725"></a><span class="lineno">  725</span></div>
<div class="line"><a id="l00729" name="l00729"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___c_r_c___burst___size.html#gaf03ddac3f5314fa8489d28b0381bb5c2">  729</a></span><span class="preprocessor">#define FLASH_CRC_BURST_SIZE_4    0x00000000U              </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00730" name="l00730"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___c_r_c___burst___size.html#gaa2d99d6b50c323817d289c5e9228db7e">  730</a></span><span class="preprocessor">#define FLASH_CRC_BURST_SIZE_16   FLASH_CRCCR_CRC_BURST_0  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00731" name="l00731"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___c_r_c___burst___size.html#ga56948310b1ad81b3c01c7aaa5d2356fc">  731</a></span><span class="preprocessor">#define FLASH_CRC_BURST_SIZE_64   FLASH_CRCCR_CRC_BURST_1  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00732" name="l00732"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___c_r_c___burst___size.html#gaefc154c668c2441f350bb126d5a7d0e2">  732</a></span><span class="preprocessor">#define FLASH_CRC_BURST_SIZE_256  FLASH_CRCCR_CRC_BURST    </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00736" name="l00736"></a><span class="lineno">  736</span></div>
<div class="line"><a id="l00740" name="l00740"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___programming___delay.html#ga5f6518c7b8e463103def540dabfb0176">  740</a></span><span class="preprocessor">#define FLASH_PROGRAMMING_DELAY_0   0x00000000U            </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00741" name="l00741"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___programming___delay.html#ga734dd6c1ee1f788a427d9f79227232ab">  741</a></span><span class="preprocessor">#define FLASH_PROGRAMMING_DELAY_1   FLASH_ACR_WRHIGHFREQ_0 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00742" name="l00742"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___programming___delay.html#gab13c0948f52d0c70fd0fe504e61f71ae">  742</a></span><span class="preprocessor">#define FLASH_PROGRAMMING_DELAY_2   FLASH_ACR_WRHIGHFREQ_1 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00743" name="l00743"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___programming___delay.html#ga3e8776d1f6ca06ae08fb9bfcd0287155">  743</a></span><span class="preprocessor">#define FLASH_PROGRAMMING_DELAY_3   FLASH_ACR_WRHIGHFREQ   </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00747" name="l00747"></a><span class="lineno">  747</span> </div>
<div class="line"><a id="l00748" name="l00748"></a><span class="lineno">  748</span><span class="preprocessor">#if defined (FLASH_OTPBL_LOCKBL)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00752" name="l00752"></a><span class="lineno">  752</span><span class="preprocessor">#define FLASH_OTP_BLOCK_0          0x00000001U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00753" name="l00753"></a><span class="lineno">  753</span><span class="preprocessor">#define FLASH_OTP_BLOCK_1          0x00000002U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00754" name="l00754"></a><span class="lineno">  754</span><span class="preprocessor">#define FLASH_OTP_BLOCK_2          0x00000004U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00755" name="l00755"></a><span class="lineno">  755</span><span class="preprocessor">#define FLASH_OTP_BLOCK_3          0x00000008U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00756" name="l00756"></a><span class="lineno">  756</span><span class="preprocessor">#define FLASH_OTP_BLOCK_4          0x00000010U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00757" name="l00757"></a><span class="lineno">  757</span><span class="preprocessor">#define FLASH_OTP_BLOCK_5          0x00000020U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00758" name="l00758"></a><span class="lineno">  758</span><span class="preprocessor">#define FLASH_OTP_BLOCK_6          0x00000040U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00759" name="l00759"></a><span class="lineno">  759</span><span class="preprocessor">#define FLASH_OTP_BLOCK_7          0x00000080U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00760" name="l00760"></a><span class="lineno">  760</span><span class="preprocessor">#define FLASH_OTP_BLOCK_8          0x00000100U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00761" name="l00761"></a><span class="lineno">  761</span><span class="preprocessor">#define FLASH_OTP_BLOCK_9          0x00000200U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00762" name="l00762"></a><span class="lineno">  762</span><span class="preprocessor">#define FLASH_OTP_BLOCK_10         0x00000400U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00763" name="l00763"></a><span class="lineno">  763</span><span class="preprocessor">#define FLASH_OTP_BLOCK_11         0x00000800U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00764" name="l00764"></a><span class="lineno">  764</span><span class="preprocessor">#define FLASH_OTP_BLOCK_12         0x00001000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00765" name="l00765"></a><span class="lineno">  765</span><span class="preprocessor">#define FLASH_OTP_BLOCK_13         0x00002000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00766" name="l00766"></a><span class="lineno">  766</span><span class="preprocessor">#define FLASH_OTP_BLOCK_14         0x00004000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00767" name="l00767"></a><span class="lineno">  767</span><span class="preprocessor">#define FLASH_OTP_BLOCK_15         0x00008000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00768" name="l00768"></a><span class="lineno">  768</span><span class="preprocessor">#define FLASH_OTP_BLOCK_ALL        0x0000FFFFU </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00772" name="l00772"></a><span class="lineno">  772</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_OTPBL_LOCKBL */</span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00776" name="l00776"></a><span class="lineno">  776</span> </div>
<div class="line"><a id="l00777" name="l00777"></a><span class="lineno">  777</span><span class="comment">/* Exported macro ------------------------------------------------------------*/</span></div>
<div class="line"><a id="l00787" name="l00787"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___exported___macros.html#gab7c736ccacb9f3eb5dd1f0c4d79e9a33">  787</a></span><span class="preprocessor">#define __HAL_FLASH_CALC_BOOT_BASE_ADR(__ADDRESS__) ((__ADDRESS__) &gt;&gt; 14U)</span></div>
<div class="line"><a id="l00788" name="l00788"></a><span class="lineno">  788</span> </div>
<div class="line"><a id="l00789" name="l00789"></a><span class="lineno">  789</span><span class="preprocessor">#if defined (FLASH_CR_PSIZE)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00797" name="l00797"></a><span class="lineno">  797</span><span class="preprocessor">#if defined (DUAL_BANK)</span></div>
<div class="line"><a id="l00798" name="l00798"></a><span class="lineno">  798</span><span class="preprocessor">#define __HAL_FLASH_SET_PSIZE(__PSIZE__, __BANK__) (((__BANK__) == FLASH_BANK_1)  ? \</span></div>
<div class="line"><a id="l00799" name="l00799"></a><span class="lineno">  799</span><span class="preprocessor">                              MODIFY_REG(FLASH-&gt;CR1, FLASH_CR_PSIZE, (__PSIZE__)) : \</span></div>
<div class="line"><a id="l00800" name="l00800"></a><span class="lineno">  800</span><span class="preprocessor">                              MODIFY_REG(FLASH-&gt;CR2, FLASH_CR_PSIZE, (__PSIZE__)))</span></div>
<div class="line"><a id="l00801" name="l00801"></a><span class="lineno">  801</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00802" name="l00802"></a><span class="lineno">  802</span><span class="preprocessor">#define __HAL_FLASH_SET_PSIZE(__PSIZE__, __BANK__)  MODIFY_REG(FLASH-&gt;CR1, FLASH_CR_PSIZE, (__PSIZE__))</span></div>
<div class="line"><a id="l00803" name="l00803"></a><span class="lineno">  803</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_BANK */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00804" name="l00804"></a><span class="lineno">  804</span></div>
<div class="line"><a id="l00811" name="l00811"></a><span class="lineno">  811</span><span class="preprocessor">#if defined (DUAL_BANK)</span></div>
<div class="line"><a id="l00812" name="l00812"></a><span class="lineno">  812</span><span class="preprocessor">#define __HAL_FLASH_GET_PSIZE(__BANK__) (((__BANK__) == FLASH_BANK_1) ? \</span></div>
<div class="line"><a id="l00813" name="l00813"></a><span class="lineno">  813</span><span class="preprocessor">                              READ_BIT((FLASH-&gt;CR1), FLASH_CR_PSIZE)  : \</span></div>
<div class="line"><a id="l00814" name="l00814"></a><span class="lineno">  814</span><span class="preprocessor">                              READ_BIT((FLASH-&gt;CR2), FLASH_CR_PSIZE))</span></div>
<div class="line"><a id="l00815" name="l00815"></a><span class="lineno">  815</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00816" name="l00816"></a><span class="lineno">  816</span><span class="preprocessor">#define __HAL_FLASH_GET_PSIZE(__BANK__)  READ_BIT((FLASH-&gt;CR1), FLASH_CR_PSIZE)</span></div>
<div class="line"><a id="l00817" name="l00817"></a><span class="lineno">  817</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_BANK */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00818" name="l00818"></a><span class="lineno">  818</span> </div>
<div class="line"><a id="l00819" name="l00819"></a><span class="lineno">  819</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_CR_PSIZE */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00820" name="l00820"></a><span class="lineno">  820</span></div>
<div class="line"><a id="l00827" name="l00827"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___exported___macros.html#gae9626a4ac8d8708097fc115e84160de8">  827</a></span><span class="preprocessor">#define __HAL_FLASH_SET_PROGRAM_DELAY(__DELAY__)  MODIFY_REG(FLASH-&gt;ACR, FLASH_ACR_WRHIGHFREQ, (__DELAY__))</span></div>
<div class="line"><a id="l00828" name="l00828"></a><span class="lineno">  828</span></div>
<div class="line"><a id="l00834" name="l00834"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h_ex___exported___macros.html#gadfdb09b694e43b2ab8c30eed68ee2941">  834</a></span><span class="preprocessor">#define __HAL_FLASH_GET_PROGRAM_DELAY()     READ_BIT(FLASH-&gt;ACR, FLASH_ACR_WRHIGHFREQ)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00838" name="l00838"></a><span class="lineno">  838</span> </div>
<div class="line"><a id="l00839" name="l00839"></a><span class="lineno">  839</span><span class="comment">/* Exported functions --------------------------------------------------------*/</span></div>
<div class="line"><a id="l00843" name="l00843"></a><span class="lineno">  843</span></div>
<div class="line"><a id="l00847" name="l00847"></a><span class="lineno">  847</span><span class="comment">/* Extension Program operation functions  *************************************/</span></div>
<div class="line"><a id="l00848" name="l00848"></a><span class="lineno">  848</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_FLASHEx_Erase(<a class="code hl_struct" href="struct_f_l_a_s_h___erase_init_type_def.html">FLASH_EraseInitTypeDef</a> *pEraseInit, uint32_t *SectorError);</div>
<div class="line"><a id="l00849" name="l00849"></a><span class="lineno">  849</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_FLASHEx_Erase_IT(<a class="code hl_struct" href="struct_f_l_a_s_h___erase_init_type_def.html">FLASH_EraseInitTypeDef</a> *pEraseInit);</div>
<div class="line"><a id="l00850" name="l00850"></a><span class="lineno">  850</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_FLASHEx_OBProgram(<a class="code hl_struct" href="struct_f_l_a_s_h___o_b_program_init_type_def.html">FLASH_OBProgramInitTypeDef</a> *pOBInit);</div>
<div class="line"><a id="l00851" name="l00851"></a><span class="lineno">  851</span><span class="keywordtype">void</span>              HAL_FLASHEx_OBGetConfig(<a class="code hl_struct" href="struct_f_l_a_s_h___o_b_program_init_type_def.html">FLASH_OBProgramInitTypeDef</a> *pOBInit);</div>
<div class="line"><a id="l00852" name="l00852"></a><span class="lineno">  852</span> </div>
<div class="line"><a id="l00853" name="l00853"></a><span class="lineno">  853</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_FLASHEx_Unlock_Bank1(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00854" name="l00854"></a><span class="lineno">  854</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_FLASHEx_Lock_Bank1(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00855" name="l00855"></a><span class="lineno">  855</span><span class="preprocessor">#if defined (DUAL_BANK)</span></div>
<div class="line"><a id="l00856" name="l00856"></a><span class="lineno">  856</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_FLASHEx_Unlock_Bank2(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00857" name="l00857"></a><span class="lineno">  857</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_FLASHEx_Lock_Bank2(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00858" name="l00858"></a><span class="lineno">  858</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_BANK */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00859" name="l00859"></a><span class="lineno">  859</span> </div>
<div class="line"><a id="l00860" name="l00860"></a><span class="lineno">  860</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_FLASHEx_ComputeCRC(<a class="code hl_struct" href="struct_f_l_a_s_h___c_r_c_init_type_def.html">FLASH_CRCInitTypeDef</a> *pCRCInit, uint32_t *CRC_Result);</div>
<div class="line"><a id="l00861" name="l00861"></a><span class="lineno">  861</span></div>
<div class="line"><a id="l00865" name="l00865"></a><span class="lineno">  865</span> </div>
<div class="line"><a id="l00866" name="l00866"></a><span class="lineno">  866</span><span class="preprocessor">#if (USE_FLASH_ECC == 1U)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00870" name="l00870"></a><span class="lineno">  870</span><span class="keywordtype">void</span>              HAL_FLASHEx_EnableEccCorrectionInterrupt(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00871" name="l00871"></a><span class="lineno">  871</span><span class="keywordtype">void</span>              HAL_FLASHEx_DisableEccCorrectionInterrupt(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00872" name="l00872"></a><span class="lineno">  872</span><span class="keywordtype">void</span>              HAL_FLASHEx_EnableEccCorrectionInterrupt_Bank1(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00873" name="l00873"></a><span class="lineno">  873</span><span class="keywordtype">void</span>              HAL_FLASHEx_DisableEccCorrectionInterrupt_Bank1(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00874" name="l00874"></a><span class="lineno">  874</span><span class="preprocessor">#if defined (DUAL_BANK)</span></div>
<div class="line"><a id="l00875" name="l00875"></a><span class="lineno">  875</span><span class="keywordtype">void</span>              HAL_FLASHEx_EnableEccCorrectionInterrupt_Bank2(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00876" name="l00876"></a><span class="lineno">  876</span><span class="keywordtype">void</span>              HAL_FLASHEx_DisableEccCorrectionInterrupt_Bank2(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00877" name="l00877"></a><span class="lineno">  877</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_BANK */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00878" name="l00878"></a><span class="lineno">  878</span> </div>
<div class="line"><a id="l00879" name="l00879"></a><span class="lineno">  879</span><span class="keywordtype">void</span>              HAL_FLASHEx_EnableEccDetectionInterrupt(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00880" name="l00880"></a><span class="lineno">  880</span><span class="keywordtype">void</span>              HAL_FLASHEx_DisableEccDetectionInterrupt(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00881" name="l00881"></a><span class="lineno">  881</span><span class="keywordtype">void</span>              HAL_FLASHEx_EnableEccDetectionInterrupt_Bank1(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00882" name="l00882"></a><span class="lineno">  882</span><span class="keywordtype">void</span>              HAL_FLASHEx_DisableEccDetectionInterrupt_Bank1(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00883" name="l00883"></a><span class="lineno">  883</span><span class="preprocessor">#if defined (DUAL_BANK)</span></div>
<div class="line"><a id="l00884" name="l00884"></a><span class="lineno">  884</span><span class="keywordtype">void</span>              HAL_FLASHEx_EnableEccDetectionInterrupt_Bank2(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00885" name="l00885"></a><span class="lineno">  885</span><span class="keywordtype">void</span>              HAL_FLASHEx_DisableEccDetectionInterrupt_Bank2(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00886" name="l00886"></a><span class="lineno">  886</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_BANK */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00887" name="l00887"></a><span class="lineno">  887</span> </div>
<div class="line"><a id="l00888" name="l00888"></a><span class="lineno">  888</span><span class="keywordtype">void</span>              HAL_FLASHEx_GetEccInfo(FLASH_EccInfoTypeDef *pData);</div>
<div class="line"><a id="l00889" name="l00889"></a><span class="lineno">  889</span><span class="keywordtype">void</span>              HAL_FLASHEx_BusFault_IRQHandler(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00890" name="l00890"></a><span class="lineno">  890</span> </div>
<div class="line"><a id="l00891" name="l00891"></a><span class="lineno">  891</span>__weak <span class="keywordtype">void</span>       HAL_FLASHEx_EccDetectionCallback(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00892" name="l00892"></a><span class="lineno">  892</span>__weak <span class="keywordtype">void</span>       HAL_FLASHEx_EccCorrectionCallback(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00896" name="l00896"></a><span class="lineno">  896</span><span class="preprocessor">#endif </span><span class="comment">/* USE_FLASH_ECC */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00897" name="l00897"></a><span class="lineno">  897</span></div>
<div class="line"><a id="l00901" name="l00901"></a><span class="lineno">  901</span><span class="comment">/* Private types -------------------------------------------------------------*/</span></div>
<div class="line"><a id="l00902" name="l00902"></a><span class="lineno">  902</span><span class="comment">/* Private variables ---------------------------------------------------------*/</span></div>
<div class="line"><a id="l00903" name="l00903"></a><span class="lineno">  903</span><span class="comment">/* Private constants ---------------------------------------------------------*/</span></div>
<div class="line"><a id="l00904" name="l00904"></a><span class="lineno">  904</span><span class="comment">/* Private macros ------------------------------------------------------------*/</span></div>
<div class="line"><a id="l00908" name="l00908"></a><span class="lineno">  908</span></div>
<div class="line"><a id="l00912" name="l00912"></a><span class="lineno">  912</span> </div>
<div class="line"><a id="l00913" name="l00913"></a><span class="lineno">  913</span><span class="preprocessor">#define IS_FLASH_TYPEERASE(VALUE)        (((VALUE) == FLASH_TYPEERASE_SECTORS) || \</span></div>
<div class="line"><a id="l00914" name="l00914"></a><span class="lineno">  914</span><span class="preprocessor">                                          ((VALUE) == FLASH_TYPEERASE_MASSERASE))</span></div>
<div class="line"><a id="l00915" name="l00915"></a><span class="lineno">  915</span> </div>
<div class="line"><a id="l00916" name="l00916"></a><span class="lineno">  916</span><span class="preprocessor">#if defined (FLASH_CR_PSIZE)</span></div>
<div class="line"><a id="l00917" name="l00917"></a><span class="lineno">  917</span><span class="preprocessor">#define IS_VOLTAGERANGE(RANGE)           (((RANGE) == FLASH_VOLTAGE_RANGE_1) || \</span></div>
<div class="line"><a id="l00918" name="l00918"></a><span class="lineno">  918</span><span class="preprocessor">                                          ((RANGE) == FLASH_VOLTAGE_RANGE_2) || \</span></div>
<div class="line"><a id="l00919" name="l00919"></a><span class="lineno">  919</span><span class="preprocessor">                                          ((RANGE) == FLASH_VOLTAGE_RANGE_3) || \</span></div>
<div class="line"><a id="l00920" name="l00920"></a><span class="lineno">  920</span><span class="preprocessor">                                          ((RANGE) == FLASH_VOLTAGE_RANGE_4))</span></div>
<div class="line"><a id="l00921" name="l00921"></a><span class="lineno">  921</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_CR_PSIZE */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00922" name="l00922"></a><span class="lineno">  922</span> </div>
<div class="line"><a id="l00923" name="l00923"></a><span class="lineno">  923</span><span class="preprocessor">#define IS_WRPSTATE(VALUE)               (((VALUE) == OB_WRPSTATE_DISABLE) || \</span></div>
<div class="line"><a id="l00924" name="l00924"></a><span class="lineno">  924</span><span class="preprocessor">                                          ((VALUE) == OB_WRPSTATE_ENABLE))</span></div>
<div class="line"><a id="l00925" name="l00925"></a><span class="lineno">  925</span> </div>
<div class="line"><a id="l00926" name="l00926"></a><span class="lineno">  926</span><span class="preprocessor">#define IS_OPTIONBYTE(VALUE)             ((((VALUE) &amp; OPTIONBYTE_ALL) != 0U) &amp;&amp; \</span></div>
<div class="line"><a id="l00927" name="l00927"></a><span class="lineno">  927</span><span class="preprocessor">                                          (((VALUE) &amp; ~OPTIONBYTE_ALL) == 0U))</span></div>
<div class="line"><a id="l00928" name="l00928"></a><span class="lineno">  928</span> </div>
<div class="line"><a id="l00929" name="l00929"></a><span class="lineno">  929</span><span class="preprocessor">#define IS_OB_BOOT_ADDRESS(ADDRESS)      ((ADDRESS) &lt;= 0x8013U)</span></div>
<div class="line"><a id="l00930" name="l00930"></a><span class="lineno">  930</span> </div>
<div class="line"><a id="l00931" name="l00931"></a><span class="lineno">  931</span><span class="preprocessor">#define IS_OB_RDP_LEVEL(LEVEL)           (((LEVEL) == OB_RDP_LEVEL_0)   ||\</span></div>
<div class="line"><a id="l00932" name="l00932"></a><span class="lineno">  932</span><span class="preprocessor">                                          ((LEVEL) == OB_RDP_LEVEL_1)   ||\</span></div>
<div class="line"><a id="l00933" name="l00933"></a><span class="lineno">  933</span><span class="preprocessor">                                          ((LEVEL) == OB_RDP_LEVEL_2))</span></div>
<div class="line"><a id="l00934" name="l00934"></a><span class="lineno">  934</span> </div>
<div class="line"><a id="l00935" name="l00935"></a><span class="lineno">  935</span><span class="preprocessor">#define IS_OB_IWDG_SOURCE(SOURCE)        (((SOURCE) == OB_IWDG_SW) || ((SOURCE) == OB_IWDG_HW))</span></div>
<div class="line"><a id="l00936" name="l00936"></a><span class="lineno">  936</span> </div>
<div class="line"><a id="l00937" name="l00937"></a><span class="lineno">  937</span><span class="preprocessor">#define IS_OB_STOP_SOURCE(SOURCE)        (((SOURCE) == OB_STOP_NO_RST) || ((SOURCE) == OB_STOP_RST))</span></div>
<div class="line"><a id="l00938" name="l00938"></a><span class="lineno">  938</span> </div>
<div class="line"><a id="l00939" name="l00939"></a><span class="lineno">  939</span><span class="preprocessor">#define IS_OB_STDBY_SOURCE(SOURCE)       (((SOURCE) == OB_STDBY_NO_RST) || ((SOURCE) == OB_STDBY_RST))</span></div>
<div class="line"><a id="l00940" name="l00940"></a><span class="lineno">  940</span> </div>
<div class="line"><a id="l00941" name="l00941"></a><span class="lineno">  941</span><span class="preprocessor">#define IS_OB_IWDG_STOP_FREEZE(FREEZE)   (((FREEZE) == OB_IWDG_STOP_FREEZE) || ((FREEZE) == OB_IWDG_STOP_ACTIVE))</span></div>
<div class="line"><a id="l00942" name="l00942"></a><span class="lineno">  942</span> </div>
<div class="line"><a id="l00943" name="l00943"></a><span class="lineno">  943</span><span class="preprocessor">#define IS_OB_IWDG_STDBY_FREEZE(FREEZE)  (((FREEZE) == OB_IWDG_STDBY_FREEZE) || ((FREEZE) == OB_IWDG_STDBY_ACTIVE))</span></div>
<div class="line"><a id="l00944" name="l00944"></a><span class="lineno">  944</span> </div>
<div class="line"><a id="l00945" name="l00945"></a><span class="lineno">  945</span><span class="preprocessor">#define IS_OB_BOR_LEVEL(LEVEL)           (((LEVEL) == OB_BOR_LEVEL0) || ((LEVEL) == OB_BOR_LEVEL1) || \</span></div>
<div class="line"><a id="l00946" name="l00946"></a><span class="lineno">  946</span><span class="preprocessor">                                          ((LEVEL) == OB_BOR_LEVEL2) || ((LEVEL) == OB_BOR_LEVEL3))</span></div>
<div class="line"><a id="l00947" name="l00947"></a><span class="lineno">  947</span> </div>
<div class="line"><a id="l00948" name="l00948"></a><span class="lineno">  948</span><span class="preprocessor">#define IS_FLASH_LATENCY(LATENCY)        (((LATENCY) == FLASH_LATENCY_0)  || \</span></div>
<div class="line"><a id="l00949" name="l00949"></a><span class="lineno">  949</span><span class="preprocessor">                                          ((LATENCY) == FLASH_LATENCY_1)  || \</span></div>
<div class="line"><a id="l00950" name="l00950"></a><span class="lineno">  950</span><span class="preprocessor">                                          ((LATENCY) == FLASH_LATENCY_2)  || \</span></div>
<div class="line"><a id="l00951" name="l00951"></a><span class="lineno">  951</span><span class="preprocessor">                                          ((LATENCY) == FLASH_LATENCY_3)  || \</span></div>
<div class="line"><a id="l00952" name="l00952"></a><span class="lineno">  952</span><span class="preprocessor">                                          ((LATENCY) == FLASH_LATENCY_4)  || \</span></div>
<div class="line"><a id="l00953" name="l00953"></a><span class="lineno">  953</span><span class="preprocessor">                                          ((LATENCY) == FLASH_LATENCY_5)  || \</span></div>
<div class="line"><a id="l00954" name="l00954"></a><span class="lineno">  954</span><span class="preprocessor">                                          ((LATENCY) == FLASH_LATENCY_6)  || \</span></div>
<div class="line"><a id="l00955" name="l00955"></a><span class="lineno">  955</span><span class="preprocessor">                                          ((LATENCY) == FLASH_LATENCY_7)  || \</span></div>
<div class="line"><a id="l00956" name="l00956"></a><span class="lineno">  956</span><span class="preprocessor">                                          ((LATENCY) == FLASH_LATENCY_8)  || \</span></div>
<div class="line"><a id="l00957" name="l00957"></a><span class="lineno">  957</span><span class="preprocessor">                                          ((LATENCY) == FLASH_LATENCY_9)  || \</span></div>
<div class="line"><a id="l00958" name="l00958"></a><span class="lineno">  958</span><span class="preprocessor">                                          ((LATENCY) == FLASH_LATENCY_10) || \</span></div>
<div class="line"><a id="l00959" name="l00959"></a><span class="lineno">  959</span><span class="preprocessor">                                          ((LATENCY) == FLASH_LATENCY_11) || \</span></div>
<div class="line"><a id="l00960" name="l00960"></a><span class="lineno">  960</span><span class="preprocessor">                                          ((LATENCY) == FLASH_LATENCY_12) || \</span></div>
<div class="line"><a id="l00961" name="l00961"></a><span class="lineno">  961</span><span class="preprocessor">                                          ((LATENCY) == FLASH_LATENCY_13) || \</span></div>
<div class="line"><a id="l00962" name="l00962"></a><span class="lineno">  962</span><span class="preprocessor">                                          ((LATENCY) == FLASH_LATENCY_14) || \</span></div>
<div class="line"><a id="l00963" name="l00963"></a><span class="lineno">  963</span><span class="preprocessor">                                          ((LATENCY) == FLASH_LATENCY_15))</span></div>
<div class="line"><a id="l00964" name="l00964"></a><span class="lineno">  964</span> </div>
<div class="line"><a id="l00965" name="l00965"></a><span class="lineno">  965</span><span class="preprocessor">#define IS_FLASH_SECTOR(SECTOR)          ((SECTOR) &lt; FLASH_SECTOR_TOTAL)</span></div>
<div class="line"><a id="l00966" name="l00966"></a><span class="lineno">  966</span> </div>
<div class="line"><a id="l00967" name="l00967"></a><span class="lineno">  967</span><span class="preprocessor">#if (FLASH_SECTOR_TOTAL == 8U)</span></div>
<div class="line"><a id="l00968" name="l00968"></a><span class="lineno">  968</span><span class="preprocessor">#define IS_OB_WRP_SECTOR(SECTOR)         ((((SECTOR) &amp; 0xFFFFFF00U) == 0x00000000U) &amp;&amp; ((SECTOR) != 0x00000000U))</span></div>
<div class="line"><a id="l00969" name="l00969"></a><span class="lineno">  969</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00970" name="l00970"></a><span class="lineno">  970</span><span class="preprocessor">#define IS_OB_WRP_SECTOR(SECTOR)         ((SECTOR) != 0x00000000U)</span></div>
<div class="line"><a id="l00971" name="l00971"></a><span class="lineno">  971</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_SECTOR_TOTAL == 8U */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00972" name="l00972"></a><span class="lineno">  972</span> </div>
<div class="line"><a id="l00973" name="l00973"></a><span class="lineno">  973</span><span class="preprocessor">#define IS_OB_PCROP_RDP(CONFIG)          (((CONFIG) == OB_PCROP_RDP_NOT_ERASE) || \</span></div>
<div class="line"><a id="l00974" name="l00974"></a><span class="lineno">  974</span><span class="preprocessor">                                          ((CONFIG) == OB_PCROP_RDP_ERASE))</span></div>
<div class="line"><a id="l00975" name="l00975"></a><span class="lineno">  975</span> </div>
<div class="line"><a id="l00976" name="l00976"></a><span class="lineno">  976</span><span class="preprocessor">#define IS_OB_SECURE_RDP(CONFIG)         (((CONFIG) == OB_SECURE_RDP_NOT_ERASE) || \</span></div>
<div class="line"><a id="l00977" name="l00977"></a><span class="lineno">  977</span><span class="preprocessor">                                          ((CONFIG) == OB_SECURE_RDP_ERASE))</span></div>
<div class="line"><a id="l00978" name="l00978"></a><span class="lineno">  978</span> </div>
<div class="line"><a id="l00979" name="l00979"></a><span class="lineno">  979</span><span class="preprocessor">#if defined (DUAL_BANK)</span></div>
<div class="line"><a id="l00980" name="l00980"></a><span class="lineno">  980</span><span class="preprocessor">#define IS_OB_USER_SWAP_BANK(VALUE)      (((VALUE) == OB_SWAP_BANK_DISABLE) || ((VALUE) == OB_SWAP_BANK_ENABLE))</span></div>
<div class="line"><a id="l00981" name="l00981"></a><span class="lineno">  981</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_BANK */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00982" name="l00982"></a><span class="lineno">  982</span> </div>
<div class="line"><a id="l00983" name="l00983"></a><span class="lineno">  983</span><span class="preprocessor">#define IS_OB_USER_IOHSLV(VALUE)         (((VALUE) == OB_IOHSLV_DISABLE) || ((VALUE) == OB_IOHSLV_ENABLE))</span></div>
<div class="line"><a id="l00984" name="l00984"></a><span class="lineno">  984</span> </div>
<div class="line"><a id="l00985" name="l00985"></a><span class="lineno">  985</span><span class="preprocessor">#if defined (FLASH_OPTSR_VDDMMC_HSLV)</span></div>
<div class="line"><a id="l00986" name="l00986"></a><span class="lineno">  986</span><span class="preprocessor">#define IS_OB_USER_VDDMMC_HSLV(VALUE)    (((VALUE) == OB_VDDMMC_HSLV_DISABLE) || ((VALUE) == OB_VDDMMC_HSLV_ENABLE))</span></div>
<div class="line"><a id="l00987" name="l00987"></a><span class="lineno">  987</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_OPTSR_VDDMMC_HSLV */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00988" name="l00988"></a><span class="lineno">  988</span> </div>
<div class="line"><a id="l00989" name="l00989"></a><span class="lineno">  989</span><span class="preprocessor">#define IS_OB_IWDG1_SOURCE(SOURCE)       (((SOURCE) == OB_IWDG1_SW) || ((SOURCE) == OB_IWDG1_HW))</span></div>
<div class="line"><a id="l00990" name="l00990"></a><span class="lineno">  990</span><span class="preprocessor">#if defined (DUAL_CORE)</span></div>
<div class="line"><a id="l00991" name="l00991"></a><span class="lineno">  991</span><span class="preprocessor">#define IS_OB_IWDG2_SOURCE(SOURCE)       (((SOURCE) == OB_IWDG2_SW) || ((SOURCE) == OB_IWDG2_HW))</span></div>
<div class="line"><a id="l00992" name="l00992"></a><span class="lineno">  992</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_CORE */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00993" name="l00993"></a><span class="lineno">  993</span><span class="preprocessor">#define IS_OB_STOP_D1_RESET(VALUE)       (((VALUE) == OB_STOP_NO_RST_D1) || ((VALUE) == OB_STOP_RST_D1))</span></div>
<div class="line"><a id="l00994" name="l00994"></a><span class="lineno">  994</span> </div>
<div class="line"><a id="l00995" name="l00995"></a><span class="lineno">  995</span><span class="preprocessor">#define IS_OB_STDBY_D1_RESET(VALUE)      (((VALUE) == OB_STDBY_NO_RST_D1) || ((VALUE) == OB_STDBY_RST_D1))</span></div>
<div class="line"><a id="l00996" name="l00996"></a><span class="lineno">  996</span> </div>
<div class="line"><a id="l00997" name="l00997"></a><span class="lineno">  997</span><span class="preprocessor">#define IS_OB_USER_IWDG_STOP(VALUE)      (((VALUE) == OB_IWDG_STOP_FREEZE) || ((VALUE) == OB_IWDG_STOP_ACTIVE))</span></div>
<div class="line"><a id="l00998" name="l00998"></a><span class="lineno">  998</span> </div>
<div class="line"><a id="l00999" name="l00999"></a><span class="lineno">  999</span><span class="preprocessor">#define IS_OB_USER_IWDG_STDBY(VALUE)     (((VALUE) == OB_IWDG_STDBY_FREEZE) || ((VALUE) == OB_IWDG_STDBY_ACTIVE))</span></div>
<div class="line"><a id="l01000" name="l01000"></a><span class="lineno"> 1000</span> </div>
<div class="line"><a id="l01001" name="l01001"></a><span class="lineno"> 1001</span><span class="preprocessor">#define IS_OB_USER_ST_RAM_SIZE(VALUE)    (((VALUE) == OB_ST_RAM_SIZE_2KB) || ((VALUE) == OB_ST_RAM_SIZE_4KB) || \</span></div>
<div class="line"><a id="l01002" name="l01002"></a><span class="lineno"> 1002</span><span class="preprocessor">                                          ((VALUE) == OB_ST_RAM_SIZE_8KB) || ((VALUE) == OB_ST_RAM_SIZE_16KB))</span></div>
<div class="line"><a id="l01003" name="l01003"></a><span class="lineno"> 1003</span> </div>
<div class="line"><a id="l01004" name="l01004"></a><span class="lineno"> 1004</span><span class="preprocessor">#define IS_OB_USER_SECURITY(VALUE)       (((VALUE) == OB_SECURITY_ENABLE) || ((VALUE) == OB_SECURITY_DISABLE))</span></div>
<div class="line"><a id="l01005" name="l01005"></a><span class="lineno"> 1005</span> </div>
<div class="line"><a id="l01006" name="l01006"></a><span class="lineno"> 1006</span><span class="preprocessor">#if defined (DUAL_CORE)</span></div>
<div class="line"><a id="l01007" name="l01007"></a><span class="lineno"> 1007</span><span class="preprocessor">#define IS_OB_USER_BCM4(VALUE)           (((VALUE) == OB_BCM4_DISABLE) || ((VALUE) == OB_BCM4_ENABLE))</span></div>
<div class="line"><a id="l01008" name="l01008"></a><span class="lineno"> 1008</span> </div>
<div class="line"><a id="l01009" name="l01009"></a><span class="lineno"> 1009</span><span class="preprocessor">#define IS_OB_USER_BCM7(VALUE)           (((VALUE) == OB_BCM7_DISABLE) || ((VALUE) == OB_BCM7_ENABLE))</span></div>
<div class="line"><a id="l01010" name="l01010"></a><span class="lineno"> 1010</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_CORE */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l01011" name="l01011"></a><span class="lineno"> 1011</span> </div>
<div class="line"><a id="l01012" name="l01012"></a><span class="lineno"> 1012</span><span class="preprocessor">#if defined (FLASH_OPTSR_NRST_STOP_D2)</span></div>
<div class="line"><a id="l01013" name="l01013"></a><span class="lineno"> 1013</span><span class="preprocessor">#define IS_OB_STOP_D2_RESET(VALUE)       (((VALUE) == OB_STOP_NO_RST_D2) || ((VALUE) == OB_STOP_RST_D2))</span></div>
<div class="line"><a id="l01014" name="l01014"></a><span class="lineno"> 1014</span> </div>
<div class="line"><a id="l01015" name="l01015"></a><span class="lineno"> 1015</span><span class="preprocessor">#define IS_OB_STDBY_D2_RESET(VALUE)      (((VALUE) == OB_STDBY_NO_RST_D2) || ((VALUE) == OB_STDBY_RST_D2))</span></div>
<div class="line"><a id="l01016" name="l01016"></a><span class="lineno"> 1016</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_OPTSR_NRST_STOP_D2 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l01017" name="l01017"></a><span class="lineno"> 1017</span> </div>
<div class="line"><a id="l01018" name="l01018"></a><span class="lineno"> 1018</span><span class="preprocessor">#if defined (FLASH_OPTSR2_TCM_AXI_SHARED)</span></div>
<div class="line"><a id="l01019" name="l01019"></a><span class="lineno"> 1019</span><span class="preprocessor">#define IS_OB_USER_TCM_AXI_SHARED(VALUE) (((VALUE) == OB_TCM_AXI_SHARED_ITCM64KB) || ((VALUE) == OB_TCM_AXI_SHARED_ITCM128KB) || \</span></div>
<div class="line"><a id="l01020" name="l01020"></a><span class="lineno"> 1020</span><span class="preprocessor">                                          ((VALUE) == OB_TCM_AXI_SHARED_ITCM192KB) || ((VALUE) == OB_TCM_AXI_SHARED_ITCM256KB))</span></div>
<div class="line"><a id="l01021" name="l01021"></a><span class="lineno"> 1021</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_OPTSR2_TCM_AXI_SHARED */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l01022" name="l01022"></a><span class="lineno"> 1022</span> </div>
<div class="line"><a id="l01023" name="l01023"></a><span class="lineno"> 1023</span><span class="preprocessor">#if defined (FLASH_OPTSR2_CPUFREQ_BOOST)</span></div>
<div class="line"><a id="l01024" name="l01024"></a><span class="lineno"> 1024</span><span class="preprocessor">#define IS_OB_USER_CPUFREQ_BOOST(VALUE)  (((VALUE) == OB_CPUFREQ_BOOST_DISABLE) || ((VALUE) == OB_CPUFREQ_BOOST_ENABLE))</span></div>
<div class="line"><a id="l01025" name="l01025"></a><span class="lineno"> 1025</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_OPTSR2_CPUFREQ_BOOST */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l01026" name="l01026"></a><span class="lineno"> 1026</span> </div>
<div class="line"><a id="l01027" name="l01027"></a><span class="lineno"> 1027</span><span class="preprocessor">#define IS_OB_USER_TYPE(TYPE)            ((((TYPE) &amp; OB_USER_ALL) != 0U) &amp;&amp; \</span></div>
<div class="line"><a id="l01028" name="l01028"></a><span class="lineno"> 1028</span><span class="preprocessor">                                          (((TYPE) &amp; ~OB_USER_ALL) == 0U))</span></div>
<div class="line"><a id="l01029" name="l01029"></a><span class="lineno"> 1029</span> </div>
<div class="line"><a id="l01030" name="l01030"></a><span class="lineno"> 1030</span><span class="preprocessor">#define IS_OB_BOOT_ADD_OPTION(VALUE)     (((VALUE) == OB_BOOT_ADD0)  || \</span></div>
<div class="line"><a id="l01031" name="l01031"></a><span class="lineno"> 1031</span><span class="preprocessor">                                          ((VALUE) == OB_BOOT_ADD1)  || \</span></div>
<div class="line"><a id="l01032" name="l01032"></a><span class="lineno"> 1032</span><span class="preprocessor">                                          ((VALUE) == OB_BOOT_ADD_BOTH))</span></div>
<div class="line"><a id="l01033" name="l01033"></a><span class="lineno"> 1033</span> </div>
<div class="line"><a id="l01034" name="l01034"></a><span class="lineno"> 1034</span><span class="preprocessor">#define IS_FLASH_TYPECRC(VALUE)          (((VALUE) == FLASH_CRC_ADDR)    || \</span></div>
<div class="line"><a id="l01035" name="l01035"></a><span class="lineno"> 1035</span><span class="preprocessor">                                          ((VALUE) == FLASH_CRC_SECTORS) || \</span></div>
<div class="line"><a id="l01036" name="l01036"></a><span class="lineno"> 1036</span><span class="preprocessor">                                          ((VALUE) == FLASH_CRC_BANK))</span></div>
<div class="line"><a id="l01037" name="l01037"></a><span class="lineno"> 1037</span> </div>
<div class="line"><a id="l01038" name="l01038"></a><span class="lineno"> 1038</span><span class="preprocessor">#if defined (FLASH_OTPBL_LOCKBL)</span></div>
<div class="line"><a id="l01039" name="l01039"></a><span class="lineno"> 1039</span><span class="preprocessor">#define IS_OTP_BLOCK(VALUE)              ((((VALUE) &amp; 0xFFFF0000U) == 0x00000000U) &amp;&amp; ((VALUE) != 0x00000000U))</span></div>
<div class="line"><a id="l01040" name="l01040"></a><span class="lineno"> 1040</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_OTPBL_LOCKBL */</span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l01044" name="l01044"></a><span class="lineno"> 1044</span></div>
<div class="line"><a id="l01048" name="l01048"></a><span class="lineno"> 1048</span> </div>
<div class="line"><a id="l01049" name="l01049"></a><span class="lineno"> 1049</span><span class="comment">/* Private functions ---------------------------------------------------------*/</span></div>
<div class="line"><a id="l01053" name="l01053"></a><span class="lineno"> 1053</span><span class="keywordtype">void</span> FLASH_Erase_Sector(uint32_t Sector, uint32_t Banks, uint32_t VoltageRange);</div>
<div class="line"><a id="l01057" name="l01057"></a><span class="lineno"> 1057</span></div>
<div class="line"><a id="l01061" name="l01061"></a><span class="lineno"> 1061</span></div>
<div class="line"><a id="l01065" name="l01065"></a><span class="lineno"> 1065</span> </div>
<div class="line"><a id="l01066" name="l01066"></a><span class="lineno"> 1066</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l01067" name="l01067"></a><span class="lineno"> 1067</span>}</div>
<div class="line"><a id="l01068" name="l01068"></a><span class="lineno"> 1068</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l01069" name="l01069"></a><span class="lineno"> 1069</span> </div>
<div class="line"><a id="l01070" name="l01070"></a><span class="lineno"> 1070</span><span class="preprocessor">#endif </span><span class="comment">/* STM32H7xx_HAL_FLASH_EX_H */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l01071" name="l01071"></a><span class="lineno"> 1071</span> </div>
<div class="ttc" id="astm32h7xx__hal__def_8h_html"><div class="ttname"><a href="stm32h7xx__hal__def_8h.html">stm32h7xx_hal_def.h</a></div><div class="ttdoc">This file contains HAL common defines, enumeration, macros and structures definitions.</div></div>
<div class="ttc" id="astm32h7xx__hal__def_8h_html_a63c0679d1cb8b8c684fbb0632743478f"><div class="ttname"><a href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a></div><div class="ttdeci">HAL_StatusTypeDef</div><div class="ttdoc">HAL Status structures definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_def.h:40</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___c_r_c_init_type_def_html"><div class="ttname"><a href="struct_f_l_a_s_h___c_r_c_init_type_def.html">FLASH_CRCInitTypeDef</a></div><div class="ttdoc">FLASH Erase structure definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:155</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___c_r_c_init_type_def_html_a1f1fe092f7a1f9fe7aa8dac1e4b4d9b4"><div class="ttname"><a href="struct_f_l_a_s_h___c_r_c_init_type_def.html#a1f1fe092f7a1f9fe7aa8dac1e4b4d9b4">FLASH_CRCInitTypeDef::TypeCRC</a></div><div class="ttdeci">uint32_t TypeCRC</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:156</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___c_r_c_init_type_def_html_a32bf6b4cfa7bba5018f3a3f1a45ba4e1"><div class="ttname"><a href="struct_f_l_a_s_h___c_r_c_init_type_def.html#a32bf6b4cfa7bba5018f3a3f1a45ba4e1">FLASH_CRCInitTypeDef::BurstSize</a></div><div class="ttdeci">uint32_t BurstSize</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:159</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___c_r_c_init_type_def_html_a4a85047d945aa22901847e85b2ae3778"><div class="ttname"><a href="struct_f_l_a_s_h___c_r_c_init_type_def.html#a4a85047d945aa22901847e85b2ae3778">FLASH_CRCInitTypeDef::CRCStartAddr</a></div><div class="ttdeci">uint32_t CRCStartAddr</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:171</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___c_r_c_init_type_def_html_abca61b78540e8669315a39d65bca3271"><div class="ttname"><a href="struct_f_l_a_s_h___c_r_c_init_type_def.html#abca61b78540e8669315a39d65bca3271">FLASH_CRCInitTypeDef::Sector</a></div><div class="ttdeci">uint32_t Sector</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:165</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___c_r_c_init_type_def_html_ac5d30b745d4a13331f856de26579f13e"><div class="ttname"><a href="struct_f_l_a_s_h___c_r_c_init_type_def.html#ac5d30b745d4a13331f856de26579f13e">FLASH_CRCInitTypeDef::NbSectors</a></div><div class="ttdeci">uint32_t NbSectors</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:168</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___c_r_c_init_type_def_html_ace452f896737149d988b683dc281afd1"><div class="ttname"><a href="struct_f_l_a_s_h___c_r_c_init_type_def.html#ace452f896737149d988b683dc281afd1">FLASH_CRCInitTypeDef::Bank</a></div><div class="ttdeci">uint32_t Bank</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:162</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___c_r_c_init_type_def_html_af0051ec432927719c91b33a9f7184fe3"><div class="ttname"><a href="struct_f_l_a_s_h___c_r_c_init_type_def.html#af0051ec432927719c91b33a9f7184fe3">FLASH_CRCInitTypeDef::CRCEndAddr</a></div><div class="ttdeci">uint32_t CRCEndAddr</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:174</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___erase_init_type_def_html"><div class="ttname"><a href="struct_f_l_a_s_h___erase_init_type_def.html">FLASH_EraseInitTypeDef</a></div><div class="ttdoc">FLASH Erase structure definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:46</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___erase_init_type_def_html_a13bac8f9a1ba504a265b44345ecf4d2b"><div class="ttname"><a href="struct_f_l_a_s_h___erase_init_type_def.html#a13bac8f9a1ba504a265b44345ecf4d2b">FLASH_EraseInitTypeDef::Sector</a></div><div class="ttdeci">uint32_t Sector</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:53</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___erase_init_type_def_html_a3a2a0c2c4ed573bb84c768c6dbb92cc9"><div class="ttname"><a href="struct_f_l_a_s_h___erase_init_type_def.html#a3a2a0c2c4ed573bb84c768c6dbb92cc9">FLASH_EraseInitTypeDef::VoltageRange</a></div><div class="ttdeci">uint32_t VoltageRange</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:59</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___erase_init_type_def_html_a5d08471046a663db76d2252848a7d66c"><div class="ttname"><a href="struct_f_l_a_s_h___erase_init_type_def.html#a5d08471046a663db76d2252848a7d66c">FLASH_EraseInitTypeDef::TypeErase</a></div><div class="ttdeci">uint32_t TypeErase</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:47</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___erase_init_type_def_html_a9590db921fb8d36daf38e097f68fc14f"><div class="ttname"><a href="struct_f_l_a_s_h___erase_init_type_def.html#a9590db921fb8d36daf38e097f68fc14f">FLASH_EraseInitTypeDef::Banks</a></div><div class="ttdeci">uint32_t Banks</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:50</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___erase_init_type_def_html_aec98fec1676cd618e3743158c855a76a"><div class="ttname"><a href="struct_f_l_a_s_h___erase_init_type_def.html#aec98fec1676cd618e3743158c855a76a">FLASH_EraseInitTypeDef::NbSectors</a></div><div class="ttdeci">uint32_t NbSectors</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:56</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___o_b_program_init_type_def_html"><div class="ttname"><a href="struct_f_l_a_s_h___o_b_program_init_type_def.html">FLASH_OBProgramInitTypeDef</a></div><div class="ttdoc">FLASH Option Bytes Program structure definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:69</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___o_b_program_init_type_def_html_a02ba9f1219abea2a6be8522095dc7f09"><div class="ttname"><a href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a02ba9f1219abea2a6be8522095dc7f09">FLASH_OBProgramInitTypeDef::BootAddr0</a></div><div class="ttdeci">uint32_t BootAddr0</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:107</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___o_b_program_init_type_def_html_a1f613ba2b87cf9caa84dc1d493e96dae"><div class="ttname"><a href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a1f613ba2b87cf9caa84dc1d493e96dae">FLASH_OBProgramInitTypeDef::RDPLevel</a></div><div class="ttdeci">uint32_t RDPLevel</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:79</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___o_b_program_init_type_def_html_a2607ba046f7a3af46e7209b8f1e9e20d"><div class="ttname"><a href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a2607ba046f7a3af46e7209b8f1e9e20d">FLASH_OBProgramInitTypeDef::WRPState</a></div><div class="ttdeci">uint32_t WRPState</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:73</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___o_b_program_init_type_def_html_a2efa2648f7de9fbc82392ff117c390cf"><div class="ttname"><a href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a2efa2648f7de9fbc82392ff117c390cf">FLASH_OBProgramInitTypeDef::BootAddr1</a></div><div class="ttdeci">uint32_t BootAddr1</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:110</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___o_b_program_init_type_def_html_a33a5b63814d8c38e158776c0c9c09a53"><div class="ttname"><a href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a33a5b63814d8c38e158776c0c9c09a53">FLASH_OBProgramInitTypeDef::PCROPConfig</a></div><div class="ttdeci">uint32_t PCROPConfig</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:94</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___o_b_program_init_type_def_html_a415be39a396d41f4c8f2ebbb78a5779c"><div class="ttname"><a href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a415be39a396d41f4c8f2ebbb78a5779c">FLASH_OBProgramInitTypeDef::SecureAreaConfig</a></div><div class="ttdeci">uint32_t SecureAreaConfig</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:124</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___o_b_program_init_type_def_html_a46bffc2a63ea02e15b9187856535d890"><div class="ttname"><a href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a46bffc2a63ea02e15b9187856535d890">FLASH_OBProgramInitTypeDef::OptionType</a></div><div class="ttdeci">uint32_t OptionType</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:70</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___o_b_program_init_type_def_html_a51a6af507ed8f57590f19b6ba6c9c33d"><div class="ttname"><a href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a51a6af507ed8f57590f19b6ba6c9c33d">FLASH_OBProgramInitTypeDef::BORLevel</a></div><div class="ttdeci">uint32_t BORLevel</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:82</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___o_b_program_init_type_def_html_a5fdf437b5f79d79945f5c0777f76d0eb"><div class="ttname"><a href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a5fdf437b5f79d79945f5c0777f76d0eb">FLASH_OBProgramInitTypeDef::Banks</a></div><div class="ttdeci">uint32_t Banks</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:91</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___o_b_program_init_type_def_html_a655813b01114752ce1dda79eb0b57561"><div class="ttname"><a href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a655813b01114752ce1dda79eb0b57561">FLASH_OBProgramInitTypeDef::SecureAreaStartAddr</a></div><div class="ttdeci">uint32_t SecureAreaStartAddr</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:128</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___o_b_program_init_type_def_html_a71770e44263750ea731fee8c2d74b307"><div class="ttname"><a href="struct_f_l_a_s_h___o_b_program_init_type_def.html#a71770e44263750ea731fee8c2d74b307">FLASH_OBProgramInitTypeDef::USERType</a></div><div class="ttdeci">uint32_t USERType</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:85</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___o_b_program_init_type_def_html_aa3db423f4b3038a56b67ca2d48af79ff"><div class="ttname"><a href="struct_f_l_a_s_h___o_b_program_init_type_def.html#aa3db423f4b3038a56b67ca2d48af79ff">FLASH_OBProgramInitTypeDef::WRPSector</a></div><div class="ttdeci">uint32_t WRPSector</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:76</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___o_b_program_init_type_def_html_aab19457e9f329c653db2dabf771dda3d"><div class="ttname"><a href="struct_f_l_a_s_h___o_b_program_init_type_def.html#aab19457e9f329c653db2dabf771dda3d">FLASH_OBProgramInitTypeDef::SecureAreaEndAddr</a></div><div class="ttdeci">uint32_t SecureAreaEndAddr</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:131</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___o_b_program_init_type_def_html_abdae88484117aeab84dfef0b37dc92df"><div class="ttname"><a href="struct_f_l_a_s_h___o_b_program_init_type_def.html#abdae88484117aeab84dfef0b37dc92df">FLASH_OBProgramInitTypeDef::BootConfig</a></div><div class="ttdeci">uint32_t BootConfig</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:104</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___o_b_program_init_type_def_html_ad0597d5c1d37131b02b2b4abecb14b2d"><div class="ttname"><a href="struct_f_l_a_s_h___o_b_program_init_type_def.html#ad0597d5c1d37131b02b2b4abecb14b2d">FLASH_OBProgramInitTypeDef::PCROPStartAddr</a></div><div class="ttdeci">uint32_t PCROPStartAddr</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:98</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___o_b_program_init_type_def_html_ad38368cf5344d6071cc1b6211289f274"><div class="ttname"><a href="struct_f_l_a_s_h___o_b_program_init_type_def.html#ad38368cf5344d6071cc1b6211289f274">FLASH_OBProgramInitTypeDef::PCROPEndAddr</a></div><div class="ttdeci">uint32_t PCROPEndAddr</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:101</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___o_b_program_init_type_def_html_aeee4c65d539a25d8bfc7f83c7dc29012"><div class="ttname"><a href="struct_f_l_a_s_h___o_b_program_init_type_def.html#aeee4c65d539a25d8bfc7f83c7dc29012">FLASH_OBProgramInitTypeDef::USERConfig</a></div><div class="ttdeci">uint32_t USERConfig</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash_ex.h:88</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a href="dir_60925fc218da8ca7908795bf5f624060.html">Drivers</a></li><li class="navelem"><a href="dir_7baec2ddb99168f99d1052c1aec46b20.html">STM32H7xx_HAL_Driver</a></li><li class="navelem"><a href="dir_4f22a8fa6199c96df71a89cbd7613f35.html">Inc</a></li><li class="navelem"><a href="stm32h7xx__hal__flash__ex_8h.html">stm32h7xx_hal_flash_ex.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.14.0 </li>
  </ul>
</div>
</body>
</html>
